-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Replication, Sharding
-
None
-
Fully Compatible
-
v3.6
-
Query 2017-11-13, Query 2017-12-04, Query 2017-12-18
The shard collection command makes a best-effort attempt to inform the primary shard that the collection is now sharded, but that message is not required to be delivered. This means that the primary shard owning the previously unsharded collection may not know that the collection is now sharded, even after it is.
We should test that if we get into a situation like that we can still establish a changeStream through a mongos that does know that the collection is sharded.
- related to
-
SERVER-31691 Change streams UUID mismatch uasserts with error code that causes invariant
- Closed
-
SERVER-31392 Test changeStreams when an unsharded collection becomes sharded
- Closed