-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.2
-
Component/s: Querying
-
Query Execution
-
ALL
-
Query 2018-02-12, Query 2018-02-26
-
0
because mongos currently does not allow remote queries on shards that were removed. It is also unclear from the user point of view when is it safe to physically take out the shard that was removed and not make the change stream lose track of some of the writes.
Possible fix is to make it such that removeShard and changeStream work together:
- removeShard will insert an 'end of life' sentinel oplog entry
- changeStream sees the sentinel and kills itself
- removeShard will not return success until there are no more change stream cursors in the shard
In this scheme, the user will know that it is safe to completely decommission the shard once removeShard completes.
- is related to
-
SERVER-44039 Improve $changeStream handling of cluster topology changes
- Backlog
- related to
-
SERVER-33778 Remove change_stream_remove_shard.js
- Closed
-
SERVER-90358 Ensure that transitionToDedicatedConfigServer does not cause event losses in change streams
- Closed