-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Security
-
Fully Compatible
-
ALL
-
v8.0, v7.3, v7.0
-
Security 2024-07-22
-
200
The order of locking the ECOC namespace and the temporary ECOC namespace in _shardsvrCompactStructuredEncryptionDataCommand::Invocation::makeRequest() should be swapped so that the temporary ECOC namespace IX lock is acquired before the ECOC namespace IX lock.
This is to prevent a deadlock with another thread that is doing the actual renaming of the ECOC to the ECOC temporary namespace, which first acquires an X lock on the target namespace (ECOC temporary) before the source namespace (ECOC).