[SERVER-67845] Acquire critical section in rename "check preconditions" phase only if target not sharded Created: 07/Jul/22 Updated: 29/Oct/23 Resolved: 13/Jul/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.1, 5.0.11, 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Pierlauro Sciarelli |
| 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: |
v6.0, v5.0
|
||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-07-11, Sharding EMEA 2022-07-25 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
The distributed lock is preventing overlaps between the critical section acquired by migrations and rename coordinators. As there is a plan to get rid of the distributed lock, purpose of this ticket is to acquire the critical section for the target collection only in case it is not sharded. This is fine because |
| Comments |
| Comment by Githook User [ 27/Jul/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Githook User [ 26/Jul/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |
| Comment by Pierlauro Sciarelli [ 13/Jul/22 ] |
|
Requesting backports to v5.0 and v6.0 that should also include |
| Comment by Githook User [ 13/Jul/22 ] |
|
Author: {'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}Message: |