[SERVER-54537] Improve diagnosability for invariant failure in WiredTigerRecordStore::waitForAllEarlierOplogWritesToBeVisible() Created: 12/Feb/21  Updated: 29/Oct/23  Resolved: 16/Feb/21

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

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-02-22
Participants:
Linked BF Score: 115

 Description   

Having trouble diagnosing a test failure.

waitForAllEarlierOplogWritesToBeVisible() has an invariant check that there is no open txn on the storage engine when it begins to wait (so it can see the latest oplog entries).

Changes:

  • Add the RecoveryUnit's _state via toString(getState())
  • Add the readConcern setting – UPDATE: doesn't seem worthwhile to link read concern files into the WT integration layer b/c no AutoGetColl* is taken so no read source selection occurs w/ possible snapshot opening
  • Is there any way to add whether it's part of a multi-document transaction??


 Comments   
Comment by Githook User [ 16/Feb/21 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-54537 Improve diagnosability for invariant failure in WiredTigerRecordStore::waitForAllEarlierOplogWritesToBeVisible()
Branch: master
https://github.com/mongodb/mongo/commit/e16a95eaac68ac2daa8f6f8b943b93763cd8dd5d

Generated at Thu Feb 08 05:33:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.