mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
mds: fix dir frag split replay
is_complete() may not be set, but split is still allowed.
This commit is contained in:
parent
399f22cb18
commit
01d91acbce
@ -636,7 +636,7 @@ void CDir::split(int bits, list<CDir*>& subs, list<Context*>& waiters, bool repl
|
||||
|
||||
if (cache->mds->logger) cache->mds->logger->inc(l_mds_dir_sp);
|
||||
|
||||
assert(is_complete() || !is_auth());
|
||||
assert(replay || is_complete() || !is_auth());
|
||||
|
||||
list<frag_t> frags;
|
||||
frag.split(bits, frags);
|
||||
|
Loading…
Reference in New Issue
Block a user