mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
Merge PR #23062 into master
* refs/pull/23062/head: mds: dump recent events on respawn Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
0a4959318e
@ -1083,6 +1083,10 @@ void MDSDaemon::respawn()
|
||||
{
|
||||
dout(1) << "respawn!" << dendl;
|
||||
|
||||
/* Dump recent in case the MDS was stuck doing something which caused it to
|
||||
* be removed from the MDSMap leading to respawn. */
|
||||
g_ceph_context->_log->dump_recent();
|
||||
|
||||
char *new_argv[orig_argc+1];
|
||||
dout(1) << " e: '" << orig_argv[0] << "'" << dendl;
|
||||
for (int i=0; i<orig_argc; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user