mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
ReplicatedPG: fix loop in check_recovery_sources
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
This commit is contained in:
parent
4d74a7b2e9
commit
05ef3ba6d8
@ -5646,7 +5646,7 @@ bool ReplicatedPG::check_recovery_sources(const OSDMapRef osdmap)
|
||||
set<int> now_down;
|
||||
for (set<int>::iterator p = missing_loc_sources.begin();
|
||||
p != missing_loc_sources.end();
|
||||
++p) {
|
||||
) {
|
||||
if (osdmap->is_up(*p)) {
|
||||
p++;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user