-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 6.0.20
-
Component/s: None
-
None
-
RSS Sydney
-
Fully Compatible
-
HappyAddy - 2025-03-04, PastaLaVista - 2025-03-18
-
(copied to CRM)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Compact in v6.0 we will still acquire the PBWM lock under the hood. As compact is a user operation, we don't opt out of `ShouldNotConflictWithSecondaryBatchApplicationBlock` and we will take the PBWM lock as part of acquiring the global lock here.
When SERVER-89727 was done, the PWBM lock was removed from the codebase (it no longer exists right now on master), but the PBWM lock still exists in 6.0. As a workaround for this, this ticket should opt out of the state before we obtain the global lock. Since compact simply rearranges blocks of data, having a consistent viewpoint of the data shouldn't matter with compaction.
- related to
-
SERVER-89727 Remove acquisition of database and collection locks in compaction
-
- Closed
-