Actions
Bug #7751
closedos: LevelDBStore: needs to check iter->status() during get()
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We are ignoring the status of the iterator during 'LevelDBStore::get()' -- we're also ignoring the state of the iterator on our iterator class itself.
This opens us to assuming everything is right when the underlying db may actually be in bad shape.
Updated by Loïc Dachary almost 9 years ago
- Regression set to No
A link to the relevant part of the code would be useful
Updated by Greg Farnum about 7 years ago
- Status changed from Closed to Need More Info
Updated by Joao Eduardo Luis about 7 years ago
- Status changed from Need More Info to Closed
If this was an issue, it shouldn't be anymore.
LevelDBStore::get() handles the case where its status is not 'okay'. It should then be the caller's responsibility to act accordingly - for the monitor, I opened http://tracker.ceph.com/issues/19601 for those cases that do not.
Actions