[SERVER-85850] Fix the namespace provided to the shardVersionRetry in the resharding collection cloner Created: 29/Jan/24 Updated: 07/Feb/24 Resolved: 07/Feb/24 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nandini Bhartiya | Assignee: | Nandini Bhartiya |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.3, v7.2
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 135 | ||||||||
| Description |
|
The namespace provided to the shardVersionRetry function should be changed to the namespace of the temporary resharding since the callback function provided (in turn calls other functions that) can throw an exception with the temporary resharding collection's namespace and this will not match with the source collection's namespace when the exception is processed. |
| Comments |
| Comment by Rachita Dhawan [ 07/Feb/24 ] |
|
nandini.bhartiya@mongodb.comreverted the fix made in SERVER-84463 that caused this |