]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "osd/PeeringState: proc_lease_ack break once found from OSD" 49537/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 21 Dec 2022 22:07:51 +0000 (22:07 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Wed, 21 Dec 2022 22:14:13 +0000 (22:14 +0000)
This reverts commit 9337fa6704180de90e1c18e314849566ff628818.

It's a `main`'s counterpart of quincy's PRs #48104 and #49304.

Fixes: https://tracker.ceph.com/issues/57546
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/PeeringState.cc

index 732508c1f3ba9b540fc9664242a1977e37fa20df..9729e3b79458594dc98850bc080d5ec57b831790 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) {