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

shard_existing_coll_chunk_count.js should use more relaxed conditions for chunk count

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2018-09-10
    • 13

    Description

      Currently shard_existing_coll_chunk_count.js checks for exact equality on chunk count, but if the timing of inserts is slightly off, the test will fail because there will be too few chunks even though everything is working properly. The easiest workaround for this is to use a more relaxed condition and assert that the number of chunks created is greater than or equal to some minimum amount.

      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: