-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Currently the write path (i.e any insert, delete, update) acquire collections either via the shard role API or via AutoGetCollection.Â
Ideally, the "query" part - which requires sharding information (usually to skip orphans, but not necessarily) - should only be using shard role API.
For the "replica-set" part, the AutoGetCollection should be enough.
There are some places left that would benefit from having access to the acquisition (for example, the preWriteFilter) instead of accessing the CSS directly.Â
A clear separation should be made so that we can determine how much work is left to correctly propagate/use acquisition wherever needed in the write path.Â
Any direct access to the CSS within the write path should be replaced by acquisitions.
- is depended on by
-
SERVER-79296 Remove sharding information from CollectionPtr
-
- Backlog
-
-
SERVER-105300 Make the ownership filter to not be copiable
-
- Blocked
-
- related to
-
SERVER-79296 Remove sharding information from CollectionPtr
-
- Backlog
-