mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
mds: remove wrong assertion
when handling resolve message, it's possible that bound dirfrags are missing. Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
parent
de461a9266
commit
150c6ce454
@ -1086,12 +1086,10 @@ void MDCache::get_force_dirfrag_bound_set(vector<dirfrag_t>& dfs, set<CDir*>& bo
|
||||
all = false;
|
||||
}
|
||||
}
|
||||
if (all) {
|
||||
if (all)
|
||||
fgls.push_back(approx_fg);
|
||||
} else {
|
||||
else
|
||||
diri->dirfragtree.get_leaves_under(fg, fgls);
|
||||
assert(!fgls.empty());
|
||||
}
|
||||
}
|
||||
dout(10) << " frag " << fg << " contains " << fgls << dendl;
|
||||
for (list<frag_t>::iterator r = fgls.begin(); r != fgls.end(); ++r) {
|
||||
|
Loading…
Reference in New Issue
Block a user