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

Fix onpage prepare visibility check if the start and stop are from the same prepared transaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.7, 5.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      Storage - Ra 2021-04-05, Storage - Ra 2021-05-03

      Description

      An internal MongoDB Evergreen test is throwing 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 have seen the the same issue in the past, but had hoped that WT-6224 should fix it. However, the issue still reproduces after WT-6224 is merged.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chenhao.qu Chenhao Qu
              Reporter:
              chenhao.qu Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: