-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
Labels:
-
Sharding EMEA
The PreWriteFilter class models different types of actions that can be taken in the management of write operations, that is, to process, to skip, or to process avoiding to notify wrong change stream events.
This logic is currently implemented in the Query Execution subsystem (i.e., write_stage_common namespace) but, by its nature, it should be owned by Sharding instead.
The goal of this task is to move that logic under the public Sharding Catalog API, i.e., collection_sharding_state or scoped_collection_metadata.