Skip to content

Commit

Permalink
mds: completed_requests -> num_completed_requests
Browse files Browse the repository at this point in the history
Rename this in the session dump so we don't collide with the
completed_requests dump in mdstypes session_info_t::dump.

Signed-off-by: Dan van der Ster <[email protected]>
Fixes: https://tracker.ceph.com/issues/50559
  • Loading branch information
dvanders committed Apr 28, 2021
1 parent 502409c commit 52098f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mds/SessionMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ void Session::dump(Formatter *f, bool cap_dump) const
}
f->dump_float("uptime", get_session_uptime());
f->dump_unsigned("requests_in_flight", get_request_count());
f->dump_unsigned("completed_requests", get_num_completed_requests());
f->dump_unsigned("num_completed_requests", get_num_completed_requests());
f->dump_bool("reconnecting", reconnecting);
f->dump_object("recall_caps", recall_caps);
f->dump_object("release_caps", release_caps);
Expand Down

0 comments on commit 52098f1

Please sign in to comment.