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

Remove assertion that RecordId exists after salvage in WiredTigerKVEngineTest

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.2
    • None
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-08-27
    • 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

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: