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:
John Spray 2015-05-12 15:17:20 +01:00
parent 7fe435ccee
commit 46a8e0864d

View 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");