Details
-
Task
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
Query Execution 2021-05-03
Description
For example, the test orf.js expects 200 in the nReturned stat (task link):
var a = [];
|
var expectBounds = [];
|
for (var i = 0; i < 200; ++i) {
|
a.push({_id: i});
|
expectBounds.push([i, i]);
|
}
|
a.forEach(function(x) {
|
t.save(x);
|
});
|
|
|
// This $or query is answered as an index scan over
|
// a series of _id index point intervals.
|
explain = t.find({$or: a}).hint({_id: 1}).explain(true);
|
printjson(explain);
|
assert.eq(200, explain.executionStats.nReturned, 'n'); // <--- fails
|
With SBE enabled we only get 109: (task link)
[multi_stmt_txn_passthrough:orf] assert: [200] != [109] are not equal : n
|
List of failing tests:
- jstests/core/orf.js
- * jstests/core/bindata_indexonly.js
Attachments
Issue Links
- duplicates
-
SERVER-55623 [SBE] Make hashed indexing work with covered shard filter
-
- Closed
-
- is depended on by
-
SERVER-56078 [SBE] Re-enable sharding jscore passthroughs against SBE build variant
-
- Closed
-