Giter VIP home page Giter VIP logo

mongo's People

Contributors

josefahmad avatar renatoriccio avatar vmenajr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mongo's Issues

Improve support for hashed sharded collections (split_to_max)

split_to_max relies on splitFind (unsure if other tools do).

splitFind expects the plain shard key value. With a hashed sharded collection, split_to_max evaluates arbitrary ranges for a split. While this is harmless, it may end up not splitting the chunk ranges intended.

uncaught exception: ReferenceError: mydatabase is not defined

most likely, I just don't know what I am doing.

This is what I am trying to do:

mongos> sh.consolidate_ns_chunks(mydatabase.data)
2021-08-17T16:27:31.278-0400 E  QUERY    [js] uncaught exception: ReferenceError: mydatabase is not defined :
@(shell):1:1

This is on Mongo 4.2. Possibly it just doesn't work on 4.2?

consolidate_ns_chunks fails with "no such cmd: merge_chunks"

Reproduces on MongoDB 3.6 and 4.0.

Merge Attempt: test.sharded-a_7.0 , test.sharded-a_16.0 = 0
{
    "ok" : 0,
    "errmsg" : "no such cmd: merge_chunks",
    "code" : 59,
    "codeName" : "CommandNotFound",
    "operationTime" : Timestamp(1563179113, 1),
    "$clusterTime" : {
        "clusterTime" : Timestamp(1563179113, 1),
        "signature" : {
            "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
            "keyId" : NumberLong(0)
        }
    }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.