Actions
Bug #77010
closed
PD
PD
cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper
Bug #77010:
cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper
Due date:
% Done:
0%
Source:
Development
Backport:
umbrella,tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-3444-gdeecbaad8c
Released In:
Upkeep Timestamp:
2026-09-18T16:40:28+00:00
Description
Description:
When waiting for asynchronous operations to finish in SimpleRADOSStriper, the code erroneously assigns the result of `aiocp->wait_for_complete()` to the return code variable. Because `wait_for_complete()` does not return the actual I/O status, underlying write/read/allocation errors are masked.
Impact:
Silent failure. If an underlying RADOS AIO operation fails, the error is never bubbled up to the caller (e.g., the SQLite VFS), leading to potential data loss or corrupted application state.
Resolution:
Update all AIO waiting loops to execute `wait_for_complete()` followed by an explicit call to `get_return_value()` to correctly capture the completion status.
PD Updated by Patrick Donnelly 6 months ago
- Pull request ID set to 69195
PD Updated by Patrick Donnelly 6 months ago
- Status changed from In Progress to Fix Under Review
PD Updated by Patrick Donnelly 3 months ago
- Target version changed from v21.0.0 to v22.0.0
- Backport changed from tentacle,squid to umbrella,tentacle,squid
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #80650: tentacle: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #80651: squid: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added
UB Updated by Upkeep Bot 3 months ago
- Copied to Backport #80652: umbrella: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added
UB Updated by Upkeep Bot 3 months ago
- Status changed from Fix Under Review to Backporting
- Merge Commit set to deecbaad8c1111a946d6bc185e8047d726bf1c70
- Fixed In set to v21.3.0-3444-gdeecbaad8c
- Upkeep Timestamp set to 2026-09-18T16:40:28+00:00
Actions