[SERVER-28038] Improve WiredTigerRecordStore invariants for capped visiblity Created: 17/Feb/17  Updated: 19/Jun/17  Resolved: 28/Feb/17

Status: Closed
Project: Core Server
Component/s: Storage, WiredTiger
Affects Version/s: None
Fix Version/s: 3.2.13, 3.4.5, 3.5.4

Type: Bug Priority: Minor - P4
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4, v3.2
Sprint: Storage 2017-03-06
Participants:
Linked BF Score: 0

 Description   

Specifically _addUncommitedRecordId_inlock has a commented-out invariant and _dealtWithCappedId has an invariant that checks the address of a RecordId in a std::list which doesn't make much sense. Instead check that the RecordId is normal.



 Comments   
Comment by Githook User [ 29/Apr/17 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-28038 Improve invariants in WiredTigerRecordStore for capped visibility

(cherry picked from commit 602a80c2b9745234daebb21dbdd81a456713cf33)
Branch: v3.4
https://github.com/mongodb/mongo/commit/ac9457b4a5235a5f1f257721500dbb89fd6935c1

Comment by Githook User [ 12/Apr/17 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-28038 Improve invariants in WiredTigerRecordStore for capped visibility

(cherry picked from commit 602a80c2b9745234daebb21dbdd81a456713cf33)
Branch: v3.2
https://github.com/mongodb/mongo/commit/819808b3d6ea8d01be58a064da3402199568e568

Comment by Githook User [ 28/Feb/17 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-28038 Improve invariants in WiredTigerRecordStore for capped visibility
Branch: master
https://github.com/mongodb/mongo/commit/602a80c2b9745234daebb21dbdd81a456713cf33

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