mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
Merge PR #21144 into master
* refs/pull/21144/head: mds: fix unhealth heartbeat during rejoin Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
a3718d5978
@ -5412,6 +5412,8 @@ bool MDCache::process_imported_caps()
|
||||
cap_imports_num_opening++;
|
||||
dout(10) << " opening missing ino " << p->first << dendl;
|
||||
open_ino(p->first, (int64_t)-1, new C_MDC_RejoinOpenInoFinish(this, p->first), false);
|
||||
if (!(cap_imports_num_opening % 1000))
|
||||
mds->heartbeat_reset();
|
||||
}
|
||||
|
||||
if (cap_imports_num_opening > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user