]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: remove image_mapped condition to remove image_map
authorArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Thu, 22 Jul 2021 16:53:16 +0000 (18:53 +0200)
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Wed, 18 Aug 2021 16:52:43 +0000 (18:52 +0200)
commit35398a5e17dc5a536ccd63417c937f2efe742654
tree137041f258d98393f3138e2f23b1a6144b11ce56
parent416e25794af0252ec45b35c897c8cf2e91aca383
rbd-mirror: remove image_mapped condition to remove image_map

In some split-brain scenario the image is removed while the image_mapped
is false. This prevents the removal of image_map in OMAP and thus the
entry will not be removed until the daemon is restarted.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
src/tools/rbd_mirror/ImageMap.cc