[SERVER-42192] Write a concurrency workload to test that orphaned ranges are always deleted and nothing that shouldn’t be deleted gets deleted Created: 11/Jul/19 Updated: 29/Oct/23 Resolved: 18/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc0, 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Alexander Taskov (Inactive) | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||||||||||||||||||
| Sprint: | Sharding 2020-03-09, Sharding 2020-03-23 | ||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||
| Description |
|
| Comments |
| Comment by Githook User [ 06/Apr/20 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit 9e10d4f30058fcc7a2a770cac6148c1fdc2a83ac) |
| Comment by Githook User [ 06/Apr/20 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: Adds automatic retry logic to ChunkHelper.moveChunk() to handle when the Exposes replica set connections as part of the "connection cache" so Introduces an fsm.forceRunningOutsideTransaction() utility function to (cherry picked from commit 5eeb0955011cf96d0218ac0a9d7f54adc9584173) |
| Comment by Githook User [ 17/Mar/20 ] |
|
Author: {'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}Message: |
| Comment by Githook User [ 12/Mar/20 ] |
|
Author: {'name': 'Max Hirschhorn', 'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com'}Message: Adds automatic retry logic to ChunkHelper.moveChunk() to handle when the Exposes replica set connections as part of the "connection cache" so Introduces an fsm.forceRunningOutsideTransaction() utility function to |
| Comment by Jack Mulrow [ 10/Feb/20 ] |
|
Here's the test I was referring to: sharded_moveChunk_partitioned.js. In particular, here's where it verifies mongos sees every document that was in the moved chunk. |
| Comment by Esha Maharishi (Inactive) [ 10/Feb/20 ] |
|
jack.mulrow, you mentioned there is an existing concurrency test that provides this coverage, do you mind linking it here? Maybe we can just modify it to wait for config.rangeDeletions to be empty before asserting that no real data was deleted. |