]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: relax snapshot mirror promotion state determination
authorJason Dillaman <dillaman@redhat.com>
Thu, 30 Jan 2020 19:49:46 +0000 (14:49 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 31 Jan 2020 04:14:21 +0000 (23:14 -0500)
commit21c51c232ba7a06f8dd78be3af7331bca8da7c6b
tree68a91ff35394bb3bb95054ba287c0773604b49e8
parent1d58b16c99cf10c641b368e2e2f39adedbcb00cd
librbd: relax snapshot mirror promotion state determination

If no mirroring-related snapshots exist on the image, it cannot
be determined if the image is primary/non-primary. In the case of
rbd-mirror, this will be the case after a new mirrored image is
created locally but before it can be synced.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/DisableRequest.cc
src/librbd/mirror/GetInfoRequest.cc
src/librbd/mirror/Types.h