mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
OSD: allow recovery in peered
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
818b91b7e2
commit
b31221afa0
@ -7835,7 +7835,7 @@ void OSD::do_recovery(PG *pg, ThreadPool::TPHandle &handle)
|
||||
return;
|
||||
} else {
|
||||
pg->lock_suspend_timeout(handle);
|
||||
if (pg->deleting || !(pg->is_active() && pg->is_primary())) {
|
||||
if (pg->deleting || !(pg->is_peered() && pg->is_primary())) {
|
||||
pg->unlock();
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user