-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We've seen a few failures of this test on the 2.6 branch:
planCacheListQueryShapes() = { "shapes" : [ ], "ok" : 1 }
planCacheListQueryShapes() = { "shapes" : [ ], "ok" : 1 }
planCacheListQueryShapes() = {
"shapes" : [
{
"query" : {
"a" : 2,
"b" : 2
},
"sort" : {
},
"projection" : {
}
}
],
"ok" : 1
}
assert: [0] != [1] are not equal : unexpected number of query shapes in plan cache
Error: [0] != [1] are not equal : unexpected number of query shapes in plan cache
at Error (<anonymous>)
at doassert (src/mongo/shell/assert.js:11:14)
at Function.assert.eq (src/mongo/shell/assert.js:38:5)
at /data/mci/shell/src/jstests/core/plan_cache_ties.js:36:8
My hypothesis is that it is 2.6-only test flakiness due to the contribution of NEED_FETCH to plan ranking. NEED_FETCH has been removed in master. Extra debug info is needed in order to confirm this hypothesis.