]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: unregister job upon async threads exception 33547/head
authorVenky Shankar <vshankar@redhat.com>
Wed, 26 Feb 2020 04:52:37 +0000 (23:52 -0500)
committerVenky Shankar <vshankar@redhat.com>
Thu, 27 Feb 2020 04:34:31 +0000 (23:34 -0500)
commit46476ef2e290bd15af2fec2410cb4f3f86b27cd2
tree5a43c6391bb371593bde9bccc62a2f2417d9d4a0
parentf83f38a26e5b7102a42ab1622ea59bfce969442e
mgr/volumes: unregister job upon async threads exception

If the async threads hit a temporary exception the job is
never unregistered and therefore gets skipped by the async
threads on subsequent scans.

Patrick hit this in nautilus when one of the purge threads
hit an exception when trying to log a message. The trash
entry was never picked up again by the purge threads.

Fixes: http://tracker.ceph.com/issues/44293
Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/pybind/mgr/volumes/fs/async_job.py