From ca6ad963ba40ca61ea8776c1aac43bfb8c4b8d1b 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 eacad645f02..7e4e51f948d 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