]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: store mirror peer uuids in non-primary demoted snapshots
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Apr 2020 23:41:23 +0000 (19:41 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 18:52:10 +0000 (20:52 +0200)
commit2395264d3ddb58bc6d41b6a4c1a358e73de3983c
tree069f21bb1996694aaa232635500d6864f20a8a4e
parent8b33694b85016881f7476dbbe354c9773c350517
librbd: store mirror peer uuids in non-primary demoted snapshots

This will allow a remote rbd-mirror process to have a snapshot to use for
delta sync operations during failover.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 0102ce88701dd52208520b8c0ab2e505548ed3e1)
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h
src/test/librbd/mirror/snapshot/test_mock_CreateNonPrimaryRequest.cc