Most of the time, however, this hangs on the rados_write or rados_read call. The hang seems to be indicative of Ceph no longer responding.
The issue appears to be resolved by acquiring the propmap_guard_ lock before calling rados_write or rados_read. This indicates that the Rados IO context, which is locked before modifying everywhere else in the code, is being affected by other threads.
Please investigate and ensure that proper locking is in place for critical sections of code.
Running the following sometimes works:
Most of the time, however, this hangs on the
rados_write
orrados_read
call. The hang seems to be indicative of Ceph no longer responding.The issue appears to be resolved by acquiring the
propmap_guard_
lock before callingrados_write
orrados_read
. This indicates that the Rados IO context, which is locked before modifying everywhere else in the code, is being affected by other threads.Please investigate and ensure that proper locking is in place for critical sections of code.