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

Remove assertion that RecordId exists after salvage in WiredTigerKVEngineTest

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-08-27
    • 21

      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.

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

              Created:
              Updated:
              Resolved: