Improve chunk size accuracy in splitVector

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The splitVector command uses NamespaceDetails::stats.datasize and nrecords to approximate the data size for a chunk. This is not likely to result in an issue, but may result in splitting chunks too frequently or not frequently enough.

      This behavior can be observed when newer documents are either larger or smaller than older documents, and have a shard key with some correlation to insertion time.

            Assignee:
            Unassigned
            Reporter:
            Ben Becker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: