]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: respawn instead of suicide on blacklist
authorJohn Spray <john.spray@redhat.com>
Tue, 12 May 2015 14:17:20 +0000 (15:17 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 14 May 2015 12:58:31 +0000 (13:58 +0100)
This was already the case in general, but the case
in RecoveryQueue slipped through.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/RecoveryQueue.cc

index 46a7e8cce0a4d172e1f491ce7c7262ce2cf9a8fb..d23acc1cbdd40a278ebf8c3b509fa044f246e4ec 100644 (file)
@@ -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");