[SERVER-64644] Prohibit sharding of ESC, ECC, and ECOC collections Created: 18/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

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-04-04
Participants:

 Description   

The ShardsvrCreateCollectionCommand::Invocation::typedRun method in src/mongo/db/s/shardsvr_create_collection_command.cpp should prohibit sharding on any FLE2 ESC, ECC, or ECOC collections. These collections can be identified because they start with "fle2." and endwith one of [".esc", ".ecoc" or ".ecc"].

This restriction will be added for now to reduce the complexity sharded encrypted compact.



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

Author:

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

Message: SERVER-64644 Prohibit sharding of FLE 2 state collections
Branch: master
https://github.com/mongodb/mongo/commit/bde82201650d83dc86aa7795594a0264feb95c7f

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