-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
ALL
-
v6.3, v6.0, v5.0
-
Sharding EMEA 2023-02-20
-
135
RenameCollectionCoordinator acquires the critical section for the destination ns if it is not sharded. Later, it releases the critical section if the destination ns exists.
This is not okay because it unconditionally releases the critical section on the destination ns, even if it is sharded. It could be that a migration is ongoing for the destination ns (because migrations have not been stopped yet, this happens later) and is in the middle of the critical section. Then rename tries to release it an hits this tassert.
- is caused by
-
SERVER-67325 Collection creation must be disallowed for collections undergoing a rename
- Closed
-
SERVER-67845 Acquire critical section in rename "check preconditions" phase only if target not sharded
- Closed
- is depended on by
-
SERVER-43099 Reenable random chunk migration failpoint for concurrency with_balancer suites
- Closed