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

failed: sharding_multiversion on enterprise-rhel-80-64-bit-multiversion-all-feature-flags [mongodb-mongo-master @ 6aee10ef] (lookup_graph_lookup_foreign_becomes_sharded.js)

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QE 2022-04-04
    • 153

      Recently disabled lookup_graph_lookup_foreign_becomes_sharded.js using checkSBEEnabled() function when featureFlagSBELookupPushdown feature is turned on. It turned out that checkSBEEnabled() can't detect reliably whether a SBE feature is turned on or not on the last-lts version (5.0).

      So, we need to find another way to detect reliably whether a SBE feature is turned on or not on the last-lts.

      But checkSBEEnabled()'s semantics is not good to detect whether a SBE feature is turned on on the last-lts version because the SBE is not turned on by default in that version and it will return false.

      Proposed fix is to query featureFlagSBELookupPushdown value directly to the shard since there's only one shard in this test configuration.

      The real test failure must be investigated by SERVER-64714.

      Information from the BF ticket.

      sharding_multiversion on enterprise-rhel-80-64-bit-multiversion-all-feature-flags

      Host: i-0fc099fc82d10a98d
      Project: mongodb-mongo-master
      Commit: 6aee10ef

      Failing Test Logs:

      • lookup_graph_lookup_foreign_becomes_sharded.js - Logs | History

      Task Logs:

      Mongo Shell Failed to Load

      Logs:

      uncaught exception: Error: [0] != [1] are not equal : Expected exactly 1 op(s) matching: {
      "ns" : "lookup_graph_lookup_foreign_becomes_sharded.source",
      "errCode" : 13388,
      "errMsg" : {
      "$regex" : "lookup_graph_lookup_foreign_becomes_sharded.foreign is not currently available"
      }
      } in profiler [
      {
      "op" : "command",
      "ns" : "lookup_graph_lookup_foreign_becomes_sharded.source",
      "command" : {
      "aggregate" : "source",
      "pipeline" : [
      {
      "$lookup" : {
      "from" : "foreign",
      "localField" : "local",
      "foreignField" : "foreign",
      "as" : "results"
      }
      }
      ],
      "cursor" : {
      "batchSize" : NumberLong(2)
      },
      "let" : {
      
      },
      "fromMongos" : false,
      "readConcern" : {
      "level" : "local",
      "provenance" : "implicitDefault"
      },
      "writeConcern" : {
      "w" : "majority",
      "wtimeout" : 0,
      "provenance" : "implicitDefault"
      },
      "shardVersion" : [
      Timestamp(0, 0),
      ObjectId("000000000000000000000000")
      ],
      "databaseVersion" : {
      "uuid" : UUID("15a7f386-8162-4279-a9af-f7e1563e95df"),
      "timestamp" : Timestamp(1648193313, 43),
      "lastMod" : 1
      },
      "lsid" : {
      "id" : UUID("024d0ffe-f121-4386-b017-116d3e212518"),
      "uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=")
      

      logs

            Assignee:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Reporter:
            yoonsoo.kim@mongodb.com Yoon Soo Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: