]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/vol: handle case where path goes missing for a clone
authorRishabh Dave <ridave@redhat.com>
Wed, 2 Apr 2025 15:31:31 +0000 (21:01 +0530)
committerRishabh Dave <ridave@redhat.com>
Sun, 4 May 2025 13:31:42 +0000 (19:01 +0530)
commit359277bc5323823a5f86f368f4a3c56ed4fca404
treee5bd457dbbe45bdf1da71b028ee00f51c3c83cc0
parentad38967a5b9b498c4e64ca276158a4d7b7eb8b06
mgr/vol: handle case where path goes missing for a clone

A thread is spawned to get the value of a certain extended attribute to
generate the progress statistics for the ongoing clone operations. In
case source and/or destination path for a clone operation goes missing,
this thread crashes. Instead of crashing, handle this case gracefully.

Fixes: https://tracker.ceph.com/issues/71019
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/mgr/volumes/fs/stats_util.py