[SERVER-66929] Persist CompactStructuredEncryptionDataCoordinator document before entering first phase Created: 01/Jun/22  Updated: 29/Oct/23  Resolved: 02/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.0-rc1
Fix Version/s: 6.0.0-rc9, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Participants:

 Description   

We are not persisting the coordinator document before entering kRenameEcocForCompact phase. This means that if a stepdown happens before the second phase we will  just abandon the coordinator.

The other DDL coordinators do not have this issue  because they all start form a placeholder kUnset phase



 Comments   
Comment by Githook User [ 02/Jun/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66929 Persist CompactStructuredEncryptionDataCoordinator document before entering first phase

(cherry picked from commit d4b666e9137903c042991944cbcb7933f5b39b1e)
Branch: v6.0
https://github.com/mongodb/mongo/commit/882698aa8b296d08099cab8cf394aeb2485a98ea

Comment by Githook User [ 01/Jun/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-66929 Persist CompactStructuredEncryptionDataCoordinator document before entering first phase
Branch: master
https://github.com/mongodb/mongo/commit/d4b666e9137903c042991944cbcb7933f5b39b1e

Generated at Thu Feb 08 06:06:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.