[SERVER-36566] Remove assertion that RecordId exists after salvage in WiredTigerKVEngineTest Created: 09/Aug/18  Updated: 29/Oct/23  Resolved: 13/Aug/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: nyc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2018-08-27
Participants:
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.



 Comments   
Comment by Githook User [ 13/Aug/18 ]

Author:

{'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams'}

Message: SERVER-36566 Remove assertion that RecordId exists after salvage in WiredTigerKVEngineTest
Branch: master
https://github.com/mongodb/mongo/commit/78ca2bc9721cd3a3a0404e7e915ed6a3b5bc1bf6

Comment by Louis Williams [ 09/Aug/18 ]

This will go away in SERVER-35731, which returns a DataModifiedByRepair error code instead.

Generated at Thu Feb 08 04:43:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.