-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
ALL
-
v8.2, v8.0, v7.0, v6.0
-
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
0
In the repro attached, we insert two documents into a collection and then shard the collection. Then we move a chunk so that each shard owns a document, but one shard has an orphaned document.
After running the query in the repro, we see a document appear twice, because the query does not have a shard filter stage so the orphaned document is included in the results.
- is related to
-
SERVER-110219 Denylist agg_orphan_filtering_renamed_shardkey.js from multiversion testing
-
- Closed
-
- related to
-
SERVER-94315 Shard filtering bug with collation
-
- Closed
-