]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "osd/PeeringState: proc_lease_ack break once found from OSD"
authorLaura Flores <lflores@redhat.com>
Wed, 14 Sep 2022 20:38:57 +0000 (15:38 -0500)
committerLaura Flores <lflores@redhat.com>
Wed, 14 Sep 2022 21:04:37 +0000 (16:04 -0500)
This reverts commit 0d07b406dc2f854363f7ae9b970e980400f4f03e.

This commit caused a regression in the rados suite, as evidenced by:

- with the commit:
http://pulpito.front.sepia.ceph.com/lflores-2022-09-14_15:11:39-rados-quincy-release-distro-default-smithi/

- with the commit reverted:
http://pulpito.front.sepia.ceph.com/lflores-2022-09-14_17:02:02-rados-wip-lflores-testing-quincy-release-distro-default-smithi/

Fixes: https://tracker.ceph.com/issues/57546
Signed-off-by: Laura Flores <lflores@redhat.com>
src/osd/PeeringState.cc

index 19abf2021e3f39e8d76354736adcb23f6d4fb19f..8ad0a08e9b4c2b1e4840c81681a22b796a83fc9f 100644 (file)
@@ -1213,8 +1213,8 @@ void PeeringState::proc_lease_ack(int from, const pg_lease_ack_t& a)
          was_min = true;
        }
        acting_readable_until_ub[i] = a.readable_until_ub;
+       break;
       }
-      break;
     }
   }
   if (was_min) {