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

plan_cache_ties.js sometimes fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.4, 2.7.5
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Linked BF Score:
      0

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: