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

Disable auto splitting in ShardingTest by default

    • Fully Compatible
    • v3.2
    • Sharding 2016-10-10
    • 0

      Any test that does a moveChunk or split command is liable to run into issues because chunks are split unexpectedly.

      For example:
      1) bulk data insert
      2) auto split is activated
      3) manual moveChunk
      4) assert on the count of data that moved fails because a smaller chunk was moved than the test expected.

      We've seen ~5 BFs related to incorrect number of expected chunks, etc.
      We could potentially have problems with > 50 sharding tests that didn't take auto splitting into account when written. We would also have to be very conscientious of auto splitting in future test writing if auto splitting were not disabled by default.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: