[SERVER-80205] Prevent throwing SSV for unsplittable collections Created: 17/Aug/23  Updated: 29/Oct/23  Resolved: 23/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: PM-3364-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-09-04
Participants:

 Description   

After SERVER-79177 we added the concept of an unsplittable collection, which contains an entry on config.collections and a single chunk. Currently, this is not supported by most of the code, causing that for example if a command ends up using UNSHARDED as placement version, the shard will always throw SSV for unsplittable collections.

We should momentarily, while all code in server is not compatible with unsplittable collections, under a feature flag, disable throwing in shards for unsplittable collections.



 Comments   
Comment by Githook User [ 23/Aug/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-80205 Add TODO ticket number
Branch: master
https://github.com/mongodb/mongo/commit/9a06b60e5e97c57463219452b3769d56f466a12b

Comment by Githook User [ 23/Aug/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-80205 Prevent throwing SSV for unsplittable collections
Branch: master
https://github.com/mongodb/mongo/commit/e34597e5783070940bfd23172ba245d71b021b6f

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