]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: image replay should retry asok registration upon failure 26523/head
authorJason Dillaman <dillaman@redhat.com>
Sat, 23 Feb 2019 00:25:44 +0000 (19:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 25 Feb 2019 19:22:25 +0000 (14:22 -0500)
commit2d2d3bbc791e807bb0c83072aaeee023116884ce
treea142cf6eb46bd301e08c4ad0719fbf3bda16f0a7
parent3723d44fa83f38572bf7587e1111005c8ba6ed69
rbd-mirror: image replay should retry asok registration upon failure

If the asok registration fails (perhaps due to a race condition with
a deleted and recreated image of the same name), periodically attempt
to register the missing asok hook.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/ImageReplayer.cc