]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: image replay should retry asok registration upon failure 28151/head
authorJason Dillaman <dillaman@redhat.com>
Sat, 23 Feb 2019 00:25:44 +0000 (19:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 May 2019 13:43:11 +0000 (09:43 -0400)
commitfb1591291625ceb2752667eb53b91088aeeab576
tree2df9ab174345df1b11171154f08c884b01e58c3f
parent8b889f56d3ef1ef0cd358fbe8a8fc6b4df8d53b4
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)
src/tools/rbd_mirror/ImageReplayer.cc