mirror of
https://github.com/ceph/ceph
synced 2025-03-18 08:24:58 +00:00
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 <john.spray@redhat.com>
This commit is contained in:
parent
7fe435ccee
commit
46a8e0864d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user