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

Relax constraint in shard_existing_coll_chunk_count.js

    • Fully Compatible
    • ALL
    • 0

      If a certain document is slow to commit, the chunk splitter won't see that document in the chunk even if that document was the one that caused it to split, and won't split the chunk, so that can lead to the count being slightly off. I reproduced it by sleeping after documents with ids 15, 17, 18, and 19, but not 16. Can fix by changing 12 here to 10.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: