-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
Although we generally expect the sessions collection to be created internally by the logical sessions cache refresher, the user does have the option to create it manually if it does not exist (TSEs sometimes do this if there are problems with the sessions collection if thy drop it).
We do not enforce that it must be created with the expected shard key (_id), though. We should enforce that the sessions collection is created with the expected shard key and check whether there are any other options that you can currently change when sharding the sessions collection that shouldn't be allowed.
- depends on
-
SERVER-97336 Prevent config.system.sessions from being created as unsharded
- Closed
- is related to
-
SERVER-97336 Prevent config.system.sessions from being created as unsharded
- Closed
-
SERVER-98270 Ban implicit creation and user manipulation for the sessions collection
- Needs Scheduling