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

Disable auto splitting in ShardingTest by default

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.2
    • Sprint:
      Sharding 2016-10-10
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: