[SERVER-83714] Make CleanupStructuredEncryptionDataCoordinator work with unsplittable collections Created: 29/Nov/23  Updated: 01/Feb/24

Status: Backlog
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: PM-3364-Milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-84406 Remove fle2 nss from the denied names... Blocked
is depended on by SERVER-86059 Support tracking unsharded collection... Backlog
is depended on by SERVER-79254 Make CleanupStructuredEncryptionDataC... Closed
Duplicate
is duplicated by SERVER-79254 Make CleanupStructuredEncryptionDataC... Closed
Assigned Teams:
Catalog and Routing
Participants:

 Description   

Queryable Encryption is a feature added in 7.0 that exposes metadata collections to the user. These collections are only used to speed up queries, so they can be dropped at any time by users. As part of the track unsharded collection project we need to make the metadata of such collections consistent. The command cleanupStructuredEncryptionData spawns a coordinator that executes direct DDL operations:

We need to change them to use the DDLCoordinator version (_shardsvrRenameCollection, _shardsvrCreateCollection and _shardsvrDropCollection) so the metadata is properly tracked in the config server, and is consistent.

Additionally we need to make this coordinator to consider when the unsplittable collection is not on the primary shard.


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