Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14731

plan_cache_ties.js sometimes fails

    • Fully Compatible
    • ALL
    • 0

      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.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: