Write acceptance jstest for the resumable range deleter project

XMLWordPrintableJSON

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

      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:
            Alexander Taskov (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: