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

Remove assertion that RecordId exists after salvage in WiredTigerKVEngineTest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2018-08-27
    • Linked BF Score:
      21

      Description

      This assertion should be removed:

         ASSERT_EQUALS(record, rs->dataFor(opCtxPtr.get(), loc).data());
      

      KVEngine::recoverOrphanedIdent makes no guarantees about the integrity of data after orphan recovery, so it does not make sense to keep this assertion around.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: