OPTION(osd_debug_skip_full_check_in_backfill_reservation, OPT_BOOL, false)
OPTION(osd_debug_reject_backfill_probability, OPT_DOUBLE, 0)
OPTION(osd_debug_inject_copyfrom_error, OPT_BOOL, false) // inject failure during copyfrom completion
-OPTION(osd_debug_randomize_hobject_sort_order, OPT_BOOL, false)
OPTION(osd_debug_misdirected_ops, OPT_BOOL, false)
OPTION(osd_enxio_on_misdirected_op, OPT_BOOL, false)
OPTION(osd_debug_verify_cached_snaps, OPT_BOOL, false)
do_sort_bitwise = osdmap->test_flag(CEPH_OSDMAP_SORTBITWISE);
if (do_sort_bitwise) {
assert(get_min_upacting_features() & CEPH_FEATURE_OSD_BITWISE_HOBJ_SORT);
- if (cct->_conf->osd_debug_randomize_hobject_sort_order) {
- // randomly use a nibblewise sort (when we otherwise might have
- // done bitwise) based on some *deterministic* function such that
- // all peers/osds will agree.
- do_sort_bitwise =
- (info.history.same_interval_since + info.pgid.ps()) & 1;
- }
}
_on_new_interval();