]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: hold lock while updating local image name
authorJason Dillaman <dillaman@redhat.com>
Mon, 16 Mar 2020 13:13:56 +0000 (09:13 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 16 Mar 2020 13:16:03 +0000 (09:16 -0400)
commitb3c7efbd452f2980e058dae0d5aa59bd0a66d14d
tree9df66f420f12cb0d990e79f5bc969c273843ac5a
parenta2a44e05d3800758eb35ba03942cb406ccdca031
rbd-mirror: hold lock while updating local image name

There is a potential for an independently scheduled status update to
request the local image name from the bootstrap state machine during its
initialization.

Fixes: https://tracker.ceph.com/issues/44391
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc