[SERVER-41744] Write acceptance jstest for the resumable range deleter project Created: 14/Jun/19  Updated: 29/Oct/23  Resolved: 18/Jun/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Task Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Alexander Taskov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-07-01
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 18/Jun/19 ]

Author:

{'name': 'Alex Taskov', 'email': 'alex.taskov@mongodb.com', 'username': 'alextaskov'}

Message: SERVER-41744 Wrote acceptance test for orphaned documents in range deletion
Branch: master
https://github.com/mongodb/mongo/commit/3378e6c37e4385413782e523a8fcdea5f557db97

Generated at Thu Feb 08 04:58:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.