]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/osd_types: introduce last_force_resend_prenautilus
authorSage Weil <sage@redhat.com>
Fri, 6 Apr 2018 16:24:02 +0000 (11:24 -0500)
committerSage Weil <sage@redhat.com>
Fri, 7 Sep 2018 17:08:40 +0000 (12:08 -0500)
commit52e18ec08a6ed9bd3f8a0876d43831b63cb82ab1
treec2d1004d92b131bf93c80268bd38c9af330d6ab8
parent7074ad4a56550f4d146308e1532fbfa7d2d26f0b
osd/osd_types: introduce last_force_resend_prenautilus

Previously, we renamed the old last_force_resend to
last_force_resend_preluminous and created a new last_force_resend for
luminous+.  This allowed us to force preluminous clients to resend ops
(because they didn't understand the new pg split => new interval rule)
without affecting luminous clients.

Do the same rename again, adding a last_force_resend_prenautilus (luminous
or mimic).

Adjust the OSD code accordingly so it matches the behavior we'll see from
a luminous client.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/osd_types.cc
src/osd/osd_types.h