DEFINE_CEPH_FEATURE(49, 2, SERVER_SQUID);
DEFINE_CEPH_FEATURE_RETIRED(50, 1, MON_METADATA, MIMIC, OCTOPUS)
DEFINE_CEPH_FEATURE(50, 2, SERVER_TENTACLE);
-DEFINE_CEPH_FEATURE_RETIRED(51, 1, OSD_BITWISE_HOBJ_SORT, MIMIC, OCTOPUS)
DEFINE_CEPH_FEATURE(51, 2, NVMEOF_BEACON_DIFF)
// available
DEFINE_CEPH_FEATURE_RETIRED(52, 1, OSD_PROXY_WRITE_FEATURES, MIMIC, OCTOPUS)
}
int NVMeofGwMap::cfg_delete_gw(
- const NvmeGwId &gw_id, const NvmeGroupKey& group_key, bool test)
+ const NvmeGwId &gw_id, const NvmeGroupKey& group_key)
{
- if (test)
- return do_delete_gw(gw_id, group_key);
-
if (HAVE_FEATURE(mon->get_quorum_con_features(), NVMEOFHA)) {
dout(10) << " has NVMEOFHA: 1" << dendl;
for (auto& gws_states: created_gws[group_key]) {
const NvmeGroupKey& group_key);
int cfg_add_gw(const NvmeGwId &gw_id, const NvmeGroupKey& group_key,
bool test = false);
- int cfg_delete_gw(const NvmeGwId &gw_id, const NvmeGroupKey& group_key,
- bool test = false);
+ int cfg_delete_gw(const NvmeGwId &gw_id, const NvmeGroupKey& group_key);
void process_gw_map_ka(
const NvmeGwId &gw_id, const NvmeGroupKey& group_key,
epoch_t& last_osd_epoch, bool &propose_pending);
int process_gw_map_gw_down(
- const NvmeGwId &gw_id, const Nv/meGroupKey& group_key,
+ const NvmeGwId &gw_id, const NvmeGroupKey& group_key,
bool &propose_pending);
int process_gw_map_gw_no_subsys_no_listeners(
const NvmeGwId &gw_id, const NvmeGroupKey& group_key,
decode(state.gw_map_epoch, bl);
decode(state.subsystems, bl);
uint32_t avail;
- uint64_t last_beacon_seq_number;
decode(avail, bl);
state.availability = (gw_availability_t)avail;
if (struct_v >= 2) {
- decode(last_beacon_seq_number, bl);
- state.last_beacon_seq_number = last_beacon_seq_number;
+ decode(state.last_beacon_seq_number, bl);
decode(state.last_beacon_seq_ooo, bl);
}
DECODE_FINISH(bl);