Project

General

Profile

Actions

Bug #77010

closed
PD PD

cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper

Bug #77010: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper

Added by Patrick Donnelly 6 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Target version:
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):
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.


Related issues 3 (2 open — 1 closed)

Copied to cephsqlite - Backport #80650: tentacle: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriperFix Under ReviewPatrick Donnelly

Actions
Copied to cephsqlite - Backport #80651: squid: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriperResolvedPatrick Donnelly

Actions
Copied to cephsqlite - Backport #80652: umbrella: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriperFix Under ReviewPatrick Donnelly

Actions

PD Updated by Patrick Donnelly 6 months ago Actions #1

  • Pull request ID set to 69195

PD Updated by Patrick Donnelly 6 months ago Actions #2

  • Status changed from In Progress to Fix Under Review

PD Updated by Patrick Donnelly 3 months ago Actions #3

  • 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 Actions #4

  • Copied to Backport #80650: tentacle: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added

UB Updated by Upkeep Bot 3 months ago Actions #5

  • Copied to Backport #80651: squid: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added

UB Updated by Upkeep Bot 3 months ago Actions #6

  • Copied to Backport #80652: umbrella: cephsqlite: AIO errors are silently ignored in SimpleRADOSStriper added

UB Updated by Upkeep Bot 3 months ago Actions #7

  • 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

Also available in: PDF Atom