]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/Session: rename last_sent_epoch to projected_epoch
authorMatan Breizman <mbreizma@redhat.com>
Thu, 15 Jun 2023 14:40:34 +0000 (14:40 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 15 Jun 2023 14:40:34 +0000 (14:40 +0000)
commitc2aba692e7b4135e65163f92e10258d115f90688
tree8cb4bbbc1f421a4475db5ba0d8d0d608a34eb09b
parent472f2c0b0c02cb857db03853c99f317f3ab17615
osd/Session: rename last_sent_epoch to projected_epoch

We always update last_sent_epoch to reflect the highest map
we think the peer will have, whether because we are sending
the incremental or due to the map_epoch on the MOSDPing.

last_epoch_sent was a confusing name since we also update it
when an MOSDPing from the peer reflects a higher epoch.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/osd/OSD.cc
src/osd/Session.h