-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
v6.0
-
Security 2022-07-11, Security 2022-08-08
-
14
The return value of the doCompactOperation is assigned to the member variable _response, which is in-memory state that is not persisted by the coordinator. Since this variable is being assigned in the penultimate kCompactStructuredEncryptionData phase of _runImpl, it is possible to lose this data if a stepdown occurs while in the middle of the final phase. And when the new primary resumes, it'll have an invalid _response value, which may cause an invariant failure.
- related to
-
SERVER-68461 Persist the result of the doCompactOperation in the Pre-6.1-compatible compaction coordinator
- Closed
-
SERVER-68373 Remove Pre-6.1 and Pre-7.0 compatible compactStructuredEncryptionData coordinators
- Closed