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

[SBE] jstests/core/index_bounds_static_limit.js fails in sharded jscore passthroughs with SBE on

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: Query Execution
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide
      python3 buildscripts/resmoke.py run --additionalFeatureFlags=featureFlagSBE --suites=sharding_jscore_passthrough jstests/core/index_bounds_static_limit.js
      
      Show
      python3 buildscripts/resmoke.py run --additionalFeatureFlags=featureFlagSBE --suites=sharding_jscore_passthrough jstests/core/index_bounds_static_limit.js
    • Query Execution 2021-04-19

      [js_test:index_bounds_static_limit] uncaught exception: Error: assert failed : {
      [js_test:index_bounds_static_limit]     "stage" : "SINGLE_SHARD",
      [js_test:index_bounds_static_limit]     "nReturned" : 0,
      [js_test:index_bounds_static_limit]     "executionTimeMillis" : 1,
      [js_test:index_bounds_static_limit]     "totalKeysExamined" : 0,
      [js_test:index_bounds_static_limit]     "totalDocsExamined" : 0,
      [js_test:index_bounds_static_limit]     "totalChildMillis" : NumberLong(0),
      [js_test:index_bounds_static_limit]     "shards" : [
      [js_test:index_bounds_static_limit]             {
      [js_test:index_bounds_static_limit]                     "shardName" : "shard-rs0",
      [js_test:index_bounds_static_limit]                     "executionSuccess" : true,
      [js_test:index_bounds_static_limit]                     "nReturned" : 0,
      [js_test:index_bounds_static_limit]                     "executionTimeMillis" : 0,
      [js_test:index_bounds_static_limit]                     "totalKeysExamined" : 0,
      [js_test:index_bounds_static_limit]                     "totalDocsExamined" : 0,
      [js_test:index_bounds_static_limit]                     "executionStages" : {
      [js_test:index_bounds_static_limit]                             "stage" : "nlj",
      [js_test:index_bounds_static_limit]                             "planNodeId" : 2,
      [js_test:index_bounds_static_limit]                             "nReturned" : 0,
      [js_test:index_bounds_static_limit]                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                             "advances" : 0,
      [js_test:index_bounds_static_limit]                             "opens" : 1,
      [js_test:index_bounds_static_limit]                             "closes" : 1,
      [js_test:index_bounds_static_limit]                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                             "isEOF" : 1,
      [js_test:index_bounds_static_limit]                             "innerOpens" : 0,
      [js_test:index_bounds_static_limit]                             "innerCloses" : 0,
      [js_test:index_bounds_static_limit]                             "outerProjects" : [ ],
      [js_test:index_bounds_static_limit]                             "outerCorrelated" : [
      [js_test:index_bounds_static_limit]                                     NumberLong(2)
      [js_test:index_bounds_static_limit]                             ],
      [js_test:index_bounds_static_limit]                             "outerStage" : {
      [js_test:index_bounds_static_limit]                                     "stage" : "nlj",
      [js_test:index_bounds_static_limit]                                     "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                     "nReturned" : 0,
      [js_test:index_bounds_static_limit]                                     "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                     "advances" : 0,
      [js_test:index_bounds_static_limit]                                     "opens" : 1,
      [js_test:index_bounds_static_limit]                                     "closes" : 1,
      [js_test:index_bounds_static_limit]                                     "saveState" : 0,
      [js_test:index_bounds_static_limit]                                     "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                     "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                     "innerOpens" : 9,
      [js_test:index_bounds_static_limit]                                     "innerCloses" : 1,
      [js_test:index_bounds_static_limit]                                     "outerProjects" : [ ],
      [js_test:index_bounds_static_limit]                                     "outerCorrelated" : [
      [js_test:index_bounds_static_limit]                                             NumberLong(3),
      [js_test:index_bounds_static_limit]                                             NumberLong(4)
      [js_test:index_bounds_static_limit]                                     ],
      [js_test:index_bounds_static_limit]                                     "outerStage" : {
      [js_test:index_bounds_static_limit]                                             "stage" : "project",
      [js_test:index_bounds_static_limit]                                             "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                             "nReturned" : 9,
      [js_test:index_bounds_static_limit]                                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                             "advances" : 9,
      [js_test:index_bounds_static_limit]                                             "opens" : 1,
      [js_test:index_bounds_static_limit]                                             "closes" : 1,
      [js_test:index_bounds_static_limit]                                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                             "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                             "projections" : {
      [js_test:index_bounds_static_limit]                                                     "3" : "getField (s6, \"l\") ",
      [js_test:index_bounds_static_limit]                                                     "4" : "getField (s6, \"h\") "
      [js_test:index_bounds_static_limit]                                             },
      [js_test:index_bounds_static_limit]                                             "inputStage" : {
      [js_test:index_bounds_static_limit]                                                     "stage" : "unwind",
      [js_test:index_bounds_static_limit]                                                     "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                                     "nReturned" : 9,
      [js_test:index_bounds_static_limit]                                                     "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                                     "advances" : 9,
      [js_test:index_bounds_static_limit]                                                     "opens" : 1,
      [js_test:index_bounds_static_limit]                                                     "closes" : 1,
      [js_test:index_bounds_static_limit]                                                     "saveState" : 0,
      [js_test:index_bounds_static_limit]                                                     "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                                     "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                                     "inputSlot" : 5,
      [js_test:index_bounds_static_limit]                                                     "outSlot" : 6,
      [js_test:index_bounds_static_limit]                                                     "outIndexSlot" : 7,
      [js_test:index_bounds_static_limit]                                                     "preserveNullAndEmptyArrays" : 0,
      [js_test:index_bounds_static_limit]                                                     "inputStage" : {
      [js_test:index_bounds_static_limit]                                                             "stage" : "project",
      [js_test:index_bounds_static_limit]                                                             "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                                             "nReturned" : 1,
      [js_test:index_bounds_static_limit]                                                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                                             "advances" : 1,
      [js_test:index_bounds_static_limit]                                                             "opens" : 1,
      [js_test:index_bounds_static_limit]                                                             "closes" : 1,
      [js_test:index_bounds_static_limit]                                                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                                                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                                             "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                                             "projections" : {
      [js_test:index_bounds_static_limit]                                                                     "5" : "[{\"l\" : KS(2B022B142B541F00000000000000000A0104), \"h\" : KS(2B022B142B542B060A0104)}, {\"l\" : KS(2B022B162B541F00000000000000000A0104), \"h\" : KS(2B022B162B542B060A0104)}, {\"l\" : KS(2B022B182B541F00000000000000000A0104), \"h\" : KS(2B022B182B542B060A0104)}, {\"l\" : KS(2B042B142B541F00000000000000000A0104), \"h\" : KS(2B042B142B542B060A0104)}, {\"l\" : KS(2B042B162B541F00000000000000000A0104), \"h\" : KS(2B042B162B542B060A0104)}, {\"l\" : KS(2B042B182B541F00000000000000000A0104), \"h\" : KS(2B042B182B542B060A0104)}, {\"l\" : KS(2B062B142B541F00000000000000000A0104), \"h\" : KS(2B062B142B542B060A0104)}, {\"l\" : KS(2B062B162B541F00000000000000000A0104), \"h\" : KS(2B062B162B542B060A0104)}, {\"l\" : KS(2B062B182B541F00000000000000000A0104), \"h\" : KS(2B062B182B542B060A0104)}] "
      [js_test:index_bounds_static_limit]                                                             },
      [js_test:index_bounds_static_limit]                                                             "inputStage" : {
      [js_test:index_bounds_static_limit]                                                                     "stage" : "limit",
      [js_test:index_bounds_static_limit]                                                                     "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                                                     "nReturned" : 1,
      [js_test:index_bounds_static_limit]                                                                     "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                                                     "advances" : 1,
      [js_test:index_bounds_static_limit]                                                                     "opens" : 1,
      [js_test:index_bounds_static_limit]                                                                     "closes" : 1,
      [js_test:index_bounds_static_limit]                                                                     "saveState" : 0,
      [js_test:index_bounds_static_limit]                                                                     "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                                                     "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                                                     "limit" : 1,
      [js_test:index_bounds_static_limit]                                                                     "inputStage" : {
      [js_test:index_bounds_static_limit]                                                                             "stage" : "coscan",
      [js_test:index_bounds_static_limit]                                                                             "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                                                             "nReturned" : 1,
      [js_test:index_bounds_static_limit]                                                                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                                                             "advances" : 1,
      [js_test:index_bounds_static_limit]                                                                             "opens" : 1,
      [js_test:index_bounds_static_limit]                                                                             "closes" : 1,
      [js_test:index_bounds_static_limit]                                                                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                                                                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                                                             "isEOF" : 0
      [js_test:index_bounds_static_limit]                                                                     }
      [js_test:index_bounds_static_limit]                                                             }
      [js_test:index_bounds_static_limit]                                                     }
      [js_test:index_bounds_static_limit]                                             }
      [js_test:index_bounds_static_limit]                                     },
      [js_test:index_bounds_static_limit]                                     "innerStage" : {
      [js_test:index_bounds_static_limit]                                             "stage" : "ixseek",
      [js_test:index_bounds_static_limit]                                             "planNodeId" : 1,
      [js_test:index_bounds_static_limit]                                             "nReturned" : 0,
      [js_test:index_bounds_static_limit]                                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                             "advances" : 0,
      [js_test:index_bounds_static_limit]                                             "opens" : 9,
      [js_test:index_bounds_static_limit]                                             "closes" : 1,
      [js_test:index_bounds_static_limit]                                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                             "isEOF" : 1,
      [js_test:index_bounds_static_limit]                                             "numReads" : 0,
      [js_test:index_bounds_static_limit]                                             "seeks" : 9,
      [js_test:index_bounds_static_limit]                                             "recordIdSlot" : 2,
      [js_test:index_bounds_static_limit]                                             "seekKeySlotLow" : 3,
      [js_test:index_bounds_static_limit]                                             "seekKeySlotHigh" : 4,
      [js_test:index_bounds_static_limit]                                             "outputSlots" : [ ],
      [js_test:index_bounds_static_limit]                                             "indexKeysToInclude" : "00000000000000000000000000000000"
      [js_test:index_bounds_static_limit]                                     }
      [js_test:index_bounds_static_limit]                             },
      [js_test:index_bounds_static_limit]                             "innerStage" : {
      [js_test:index_bounds_static_limit]                                     "stage" : "limit",
      [js_test:index_bounds_static_limit]                                     "planNodeId" : 2,
      [js_test:index_bounds_static_limit]                                     "nReturned" : 0,
      [js_test:index_bounds_static_limit]                                     "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                     "advances" : 0,
      [js_test:index_bounds_static_limit]                                     "opens" : 0,
      [js_test:index_bounds_static_limit]                                     "closes" : 0,
      [js_test:index_bounds_static_limit]                                     "saveState" : 0,
      [js_test:index_bounds_static_limit]                                     "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                     "isEOF" : 0,
      [js_test:index_bounds_static_limit]                                     "limit" : 1,
      [js_test:index_bounds_static_limit]                                     "inputStage" : {
      [js_test:index_bounds_static_limit]                                             "stage" : "seek",
      [js_test:index_bounds_static_limit]                                             "planNodeId" : 2,
      [js_test:index_bounds_static_limit]                                             "nReturned" : 0,
      [js_test:index_bounds_static_limit]                                             "executionTimeMillisEstimate" : 0,
      [js_test:index_bounds_static_limit]                                             "advances" : 0,
      [js_test:index_bounds_static_limit]                                             "opens" : 0,
      [js_test:index_bounds_static_limit]                                             "closes" : 0,
      [js_test:index_bounds_static_limit]                                             "saveState" : 0,
      [js_test:index_bounds_static_limit]                                             "restoreState" : 0,
      [js_test:index_bounds_static_limit]                                             "isEOF" : 0,
      [js_test:index_bounds_static_limit]                                             "numReads" : 0,
      [js_test:index_bounds_static_limit]                                             "recordSlot" : 8,
      [js_test:index_bounds_static_limit]                                             "recordIdSlot" : 9,
      [js_test:index_bounds_static_limit]                                             "seekKeySlot" : 2,
      [js_test:index_bounds_static_limit]                                             "fields" : [ ],
      [js_test:index_bounds_static_limit]                                             "outputSlots" : [ ]
      [js_test:index_bounds_static_limit]                                     }
      [js_test:index_bounds_static_limit]                             }
      [js_test:index_bounds_static_limit]                     }
      [js_test:index_bounds_static_limit]             }
      [js_test:index_bounds_static_limit]     ]
      [js_test:index_bounds_static_limit] } :
      [js_test:index_bounds_static_limit] doassert@src/mongo/shell/assert.js:20:14
      [js_test:index_bounds_static_limit] assert@src/mongo/shell/assert.js:151:9
      [js_test:index_bounds_static_limit] @jstests/core/index_bounds_static_limit.js:54:5
      [js_test:index_bounds_static_limit] @jstests/core/index_bounds_static_limit.js:4:2
      [js_test:index_bounds_static_limit] failed to load: jstests/core/index_bounds_static_limit.js
      [js_test:index_bounds_static_limit] exiting with code -3
      

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: