]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: pass octopus to PeeringCtx's constructor
authorKefu Chai <kchai@redhat.com>
Fri, 13 Sep 2019 05:14:02 +0000 (13:14 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Sep 2019 08:14:13 +0000 (16:14 +0800)
commit5a851c679ef006f35b4f54a0b0704943a9029110
tree3078779e8ddb09caa7448620b70e953dd5df0302
parentc3afe6257c080cddc6ffcf8d80e039acb5de8dfd
crimson/osd: pass octopus to PeeringCtx's constructor

to accommodate the change of 77ecc327

classic OSD started to use single-pg peering ops since ce05c172, and it
switched over to these ops since octopus. and it's assumed that
crimson-osd won't be GA until octopus+2 release, so it's not needed to
support pre-octopus releases. hence "octopus" is passed to PeeringCtx's
constructor.

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