]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: handle cache rejoin corner case
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 6 Nov 2013 01:42:43 +0000 (09:42 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 16 Dec 2013 04:15:23 +0000 (12:15 +0800)
commit0aed0d48c7b22bc1a700765529a7dcfac4f0a19d
treec86b4261a3c9c5d81033922250b968e9a82d8814
parent5a902a0e5d3beb919cf27f21aef52a4d0fa9f0f4
mds: handle cache rejoin corner case

A recovering MDS may receives strong cache rejoin from a survivor,
then the survivor restarts, the recovering MDS receives week cache
rejoin from the same MDS. Before processing the week cache rejoin,
we should scour replicas added by the obsoleted strong cache rejoin.

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