[SERVER-64914] warn if a user drops an encrypted collection before state collections Created: 24/Mar/22  Updated: 29/Oct/23  Resolved: 01/Apr/22

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

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-04-04
Participants:
Linked BF Score: 147

 Description   

Users should drop the state collections first and then the encrypted collection.

Add a warning to the log file if a user drops an encrypted collection before state collections. The log message should indicate which collections were not dropped.

Drop collection cannot error in this case because it may break tools (mongorestore, etc)



 Comments   
Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-64914 warn if a user drops an encrypted collection before state collections
Branch: master
https://github.com/mongodb/mongo/commit/cbd9d61b6e44a560cb01b7412093502148327d56

Comment by Githook User [ 01/Apr/22 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-64914 warn if a user drops an encrypted collection before state collections
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/b1abc66fa9c62f06766e8711877305c7c0dfa630

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