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

Write acceptance jstest for the resumable range deleter project

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2019-07-01

      This test can be used to verify that the goals of the resumable range deleter project have been met. 

      1. Create a sharded collection with two chunks on Shard A
      2. Pause range deletion on the primary of Shard A
      3. Migrate a chunk from Shard A to Shard B
      4. Cause a step down on Shard A
      5. Connect directly to the new primary of Shard A and verify that eventually no documents remain from the chunk that was migrated away

      Currently this test will fail - we can either commit it by asserting that it currently fails, or make it succeed by introducing a call to cleanupOrphaned between steps 4 and 5. After the project, range deletion should resume automatically on the new shard primary after step 4.

            Assignee:
            alex.taskov@mongodb.com Alexander Taskov (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: