]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: log master commit after all slave commits get journaled
authorYan, Zheng <zyan@redhat.com>
Mon, 6 Feb 2017 08:47:43 +0000 (16:47 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 20 Feb 2017 08:12:36 +0000 (16:12 +0800)
commit851003bc852788d0def92e8dfcdde2445191ab28
treec105657de8af7119f0b19fa3d2abd29b07cd1d62
parent7eed426e617733936759cc4d8ce5aaba5bfc0f93
mds: log master commit after all slave commits get journaled

When survivor mds sends resolve message to recovering mds, aslo
records committing slave request in the message. So the recovering
mds knows the slave commit is still being journaled. It journals
master commit after receiving corresponding OP_COMMITTED message.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc
src/messages/MMDSResolve.h