From 45f5ac8b409f2ae126107dd677232f951d4736d0 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 24 Aug 2023 15:44:54 -0400 Subject: [PATCH] mds: log message when exiting due to asok command Fixes: https://tracker.ceph.com/issues/62577 Signed-off-by: Patrick Donnelly (cherry picked from commit d4349e8ea001aed5aa138d4a1ea99442543e503c) --- src/mds/MDSDaemon.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index 877d9132e71ce..57b269568eda1 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -157,6 +157,7 @@ void MDSDaemon::asok_command( // our response before seeing us disappear from mdsmap sleep(1); std::lock_guard l(mds_lock); + derr << "Exiting due to admin socket command" << dendl; suicide(); }); t.detach(); -- 2.39.5