From 46a8e0864dbef333a931191e33b7d907a133308b Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 12 May 2015 15:17:20 +0100 Subject: [PATCH] mds: respawn instead of suicide on blacklist This was already the case in general, but the case in RecoveryQueue slipped through. Signed-off-by: John Spray --- src/mds/RecoveryQueue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/RecoveryQueue.cc b/src/mds/RecoveryQueue.cc index 46a7e8cce0a4d..d23acc1cbdd40 100644 --- a/src/mds/RecoveryQueue.cc +++ b/src/mds/RecoveryQueue.cc @@ -154,7 +154,7 @@ void RecoveryQueue::_recovered(CInode *in, int r, uint64_t size, utime_t mtime) if (r != 0) { dout(0) << "recovery error! " << r << dendl; if (r == -EBLACKLISTED) { - mds->suicide(); + mds->respawn(); return; } assert(0 == "unexpected error from osd during recovery"); -- 2.39.5