[SERVER-81327] Reject resharding natural scan query if initialSyncId is not matching. Created: 21/Sep/23 Updated: 29/Oct/23 Resolved: 02/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jiawei Yang | Assignee: | Jiawei Yang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Repl 2023-10-02, Repl 2023-10-16 | ||||
| Participants: | |||||
| Linked BF Score: | 138 | ||||
| Description |
|
We are not checking the initialSyncId in resumeToken, which could lead to data inconsistency. We should reject it and let the resharding fail. |
| Comments |
| Comment by Githook User [ 02/Oct/23 ] |
|
Author: {'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}Message: |