Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6538

WiredTiger returns unexpected empty value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.5 Required
    • Component/s: None
    • Labels:
      None

      Description

      In BF-17890, mongodb throw an exception when it tries to interpret a record returned from WiredTiger but only to find it is empty.

      assert: command failed: {
      "ok" : 0,
      "host" : "localhost:20000",
      "validateRes" : {
      "ok" : 0,
      "failed_res" : [
      {
      "valid" : false,
      "warnings" : [ ],
      "errors" : [
      "exception during collection validation: Overflow: Invalid advance (1) past end of buffer[0] at offset: 0"
      ],
      "extraIndexEntries" : [ ],
      "missingIndexEntries" : [ ],
      "advice" : "A corrupt namespace has been detected. See http://dochub.mongodb.org/core/data-recovery for recovery steps.",
      "ok" : 1,
      "$clusterTime" : {
      "clusterTime" : Timestamp(1591262189, 24),
      "signature" : {
      "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      "keyId" : NumberLong(0)
      }
      },
      "operationTime" : Timestamp(1591262189, 24)
      }
      ]
      }
      } : Collection validation failed
      

      We saw the same issue in BF-17371 and believed that WT-6224 should fix it. However, the issue still reproduces after WT-6224 is merged.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              chenhao.qu Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: