]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: preserve non-auth/unlinked objects until slave commit
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 19 Jan 2013 04:57:31 +0000 (12:57 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 29 Jan 2013 02:17:35 +0000 (10:17 +0800)
commit1a6626f03220b8a3f4052f95226d23094c1f7b36
treed19f340fe21faf56bd0f8a0903fed3e75624b95d
parent9944d9fbc969134a2b4645c1e402dfb5aab0eaaa
mds: preserve non-auth/unlinked objects until slave commit

The MDS should not trim objects in non-auth subtree immediately after
replaying a slave rename. Because the slave rename may require rollback
later and these objects are needed for rollback.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Mutation.h
src/mds/Server.cc
src/mds/events/EMetaBlob.h
src/mds/journal.cc