From 79a33025d506c9a90520633492285bc047ef31f5 Mon Sep 17 00:00:00 2001 From: Zhansong Gao Date: Fri, 26 May 2023 12:25:10 +0800 Subject: [PATCH] mds: add `importing_count` to session dump Signed-off-by: Zhansong Gao --- src/mds/SessionMap.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/SessionMap.cc b/src/mds/SessionMap.cc index ba0b0817738..0f6038eb82b 100644 --- a/src/mds/SessionMap.cc +++ b/src/mds/SessionMap.cc @@ -615,6 +615,7 @@ void Session::dump(Formatter *f, bool cap_dump) const f->dump_unsigned("num_completed_requests", get_num_completed_requests()); f->dump_unsigned("num_completed_flushes", get_num_completed_flushes()); f->dump_bool("reconnecting", reconnecting); + f->dump_int("importing_count", importing_count); f->dump_object("recall_caps", recall_caps); f->dump_object("release_caps", release_caps); f->dump_object("recall_caps_throttle", recall_caps_throttle);