-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Change streams, Sharding
-
None
-
Query Execution
-
Fully Compatible
-
QE 2025-08-18, QE 2025-09-01, QE 2025-09-15, QE 2025-09-29, QE 2025-10-13, QE 2025-10-27, QE 2026-01-19, QE 2025-12-08, QE 2025-11-24, QE 2025-11-10
-
None
-
None
-
None
-
None
-
None
-
None
-
None
- Implement Ignore-Removed-Shards operation mode support in CollectionChangeStreamShardTargeterImpl module based on the design.
- Add a smoke test.
- Disable removed shard check at https://github.com/10gen/mongo/blob/5cfd14aa58b6f3f547a83de29b65a169d96184e5/src/mongo/db/pipeline/sharded_agg_helpers.cpp#L964-L973 for v2 change streams.
Suggested smoke test scenario:
- Open a change stream in Strict mode to get the resume token resumeToken.
- Create and shard a collection Coll; allocate collection to shard set {A, B}.
- Insert documents into the collection Coll so the documents are distributed in shards A and B.
- Reshard collection Coll and allocate to shards {B, C}.
- Insert some documents into collection Coll.
- Remove and decommision shard A from the system.
- Open a change stream on collection Coll in Ignore-Removed-Shards mode from resume token resumeToken and read all events. Verify that all events were returned except the ones recorded on shard A.
Reuse as much of the test script from jstests/sharding/query/change_streams/change_stream_v2_smoke.js.
- is depended on by
-
SERVER-115212 Introduce white box tests for ignore removed shards mode
-
- Backlog
-
- related to
-
SERVER-114863 Add test suite for v2 change streams in ignoreRemovedShards mode
-
- Closed
-