[SERVER-55033] OpObserverImpl should pass the shard key when calling shardObserveDeleteOp Created: 08/Mar/21 Updated: 29/Oct/23 Resolved: 10/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 4.9.0-alpha4 |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Serra Torrens | Assignee: | Jordi Serra Torrens |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Sprint: | Sharding 2021-03-22 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 121 | ||||||||||||||||||||
| Description |
|
OpObserverImpl is only passing the document '_id' when calling shardObserveDeleteOp. However, it should also mass the shardKey element, because OpObserverShardingImpl::shardObserveDeleteOp needs it so that in assertIntersectingChunkHasNotMoved it is able to find the intersecting chunk. This line should be changed to:
|
| Comments |
| Comment by Githook User [ 10/Mar/21 ] |
|
Author: {'name': 'Jordi Serra Torrens', 'email': 'jordi.serra-torrens@mongodb.com', 'username': 'jordist'}Message: |