[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: |
|
||||||||||||
| 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: (cherry picked from commit 602a80c2b9745234daebb21dbdd81a456713cf33) |
| Comment by Githook User [ 12/Apr/17 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: (cherry picked from commit 602a80c2b9745234daebb21dbdd81a456713cf33) |
| Comment by Githook User [ 28/Feb/17 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |