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

Remove migrateMemory.js

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • Testing Infrastructure
    • None
    • ALL
    • 0

    Description

      Test can fail because of the formula being used to determine which chunks to move:

      https://github.com/mongodb/mongo/blob/7acafe85d9bdd63122c19ba1cca86a7f55174941/jstests/sharding/migrateMemory.js#L47

      Depending on how the chunks (specifically, the number of chunks) are actually split*, it is possible to have 2 consecutive numbers that are actually bounded by the same chunk, resulting into the "that chunk is already on that shard" error. We should just remove this test since it has no useful asserts.

      * Our internal chunk stats for stats are initialized with a random number so the point when it triggers the auto split is not deterministic.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: