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

Relax constraint in shard_existing_coll_chunk_count.js

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: