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

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

      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.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: