]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix handling of cache_expire export
authorSage Weil <sage@inktank.com>
Sun, 21 Oct 2012 21:22:51 +0000 (14:22 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 03:49:04 +0000 (20:49 -0700)
commit3153ec740d6ba6f0545128b16b0fa037a23f9d12
tree9424af9629806280e096566ede87aba7e494bc57
parent4ac45200f10e0409121948cea5226ca9e23bb5fb
mds: fix handling of cache_expire export

During export, between the warning stage and the final notify, we may
get cache expire messages because the replicas are sending to both us
and the new auth.  This check should look for >= WARNING so that it
includes the EXPORTING states as well as the portion of WARNING after
we heard from that replica.  This aligns the conditional with the
following assert such that they are properly mutually exclusive.

Fixes: #1527
Signed-off-by: Sage Weil <sage@inktank.com>
src/mds/MDCache.cc