]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: do not check for require_osd_release
authorKefu Chai <kchai@redhat.com>
Fri, 12 Mar 2021 06:23:50 +0000 (14:23 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Mar 2021 10:40:24 +0000 (18:40 +0800)
commitaba13c7661bf8a62f2879513512053dc9857c003
tree32b1dffe4356f86cb3483f6c1982bd83acc77cc4
parent6a19e303187c2defceb9c785284ca401a4309c47
osd/PeeringState: do not check for require_osd_release

before this change, we always check for require_osd_release when
creating MOSDPGNotify2 or MOSDPGNotify, if require_osd_release is
greater or equal to octopus, MOSDPGNotify2 is created.

since we are in a post-quincy era, and we only need to upgrade from
octopus and up to quincy, there is no need to be compatible with
osd whose version is lower than octopus.

in this change, the check in `BufferedRecoveryMessages::send_notify()`
is dropped.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/osd_operations/compound_peering_request.cc
src/crimson/osd/osd_operations/peering_event.h
src/crimson/osd/shard_services.cc
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PeeringState.cc
src/osd/PeeringState.h