Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7702

Improve chunk size accuracy in splitVector

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Sharding
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: