]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: image replay should retry asok registration upon failure 28158/head
authorJason Dillaman <dillaman@redhat.com>
Sat, 23 Feb 2019 00:25:44 +0000 (19:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 17 May 2019 14:59:32 +0000 (10:59 -0400)
commitee01a27101d00ab7db0466e1d000f194b18caad0
tree3b12da6c8e1a6c1736629b00399fe981d1781369
parenta8966307081dde63e657a9196c2f2d3a728e0f3d
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>
(cherry picked from commit 2d2d3bbc791e807bb0c83072aaeee023116884ce)

Conflicts:
src/tools/rbd_mirror/ImageReplayer.cc: trivial resolution
src/tools/rbd_mirror/ImageReplayer.cc