]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/PeeringState: piggyback lease and ack on activation messages
authorSage Weil <sage@redhat.com>
Tue, 6 Aug 2019 22:04:44 +0000 (17:04 -0500)
committerSage Weil <sage@redhat.com>
Sat, 28 Sep 2019 16:51:18 +0000 (11:51 -0500)
commit39529a7f92479edb96178ef0548a29bd56967cb2
treee89030c264342b6646f0aecedb07e1e46b729391
parentc8383b7c9fe7cc2602189a38c5ff461e38d826e7
osd/PeeringState: piggyback lease and ack on activation messages

The lease goes out with the MOSDPGLog or info, and the ack comes back with
the info.

We no longer need to renew the lease explicitly in
all_activated_and_committed() because we *just* piggybacked on activation.
We can just wait for the normal renew event to fire.

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDPGInfo2.h
src/osd/PGPeeringEvent.h
src/osd/PeeringState.cc
src/osd/PeeringState.h