示例#1
0
def prepare_load():
    with hide('running'):
        jmx.set_bool_value(SAVE_OPS_PAR, False)
        jmx.set_bool_value(IGNORE_NON_LOCAL_PAR, False)
        jmx.set_value(MAX_ITEMS_FOR_LARGE_REPL_PAR, 0)
        jmx.set_value(MAX_ITEMS_FOR_LARGE_REPL_PAR, 0)
        jmx.set_value(SLEEP_TIME_PAR, 0)
示例#2
0
def prepare_load():
    with hide('running'):
        jmx.set_bool_value(SAVE_OPS_PAR, False)
        jmx.set_bool_value(IGNORE_NON_LOCAL_PAR, False)
        jmx.set_value(MAX_ITEMS_FOR_LARGE_REPL_PAR, 0)
        jmx.set_value(MAX_ITEMS_FOR_LARGE_REPL_PAR, 0)
        jmx.set_value(SLEEP_TIME_PAR, 0)
示例#3
0
def prepare_run():
    with hide('running'):
        jmx.set_bool_value(SAVE_OPS_PAR, cassandra_settings.save_ops)
        jmx.set_bool_value(IGNORE_NON_LOCAL_PAR,
                        cassandra_settings.ignore_non_local)
        jmx.set_value(MAX_ITEMS_FOR_LARGE_REPL_PAR,
                    cassandra_settings.max_items_for_large_replication_degree)
        jmx.set_value(SLEEP_TIME_PAR, cassandra_settings.sleep_time)
示例#4
0
def prepare_run():
    with hide('running'):
        jmx.set_bool_value(SAVE_OPS_PAR, cassandra_settings.save_ops)
        jmx.set_bool_value(IGNORE_NON_LOCAL_PAR,
                           cassandra_settings.ignore_non_local)
        jmx.set_value(
            MAX_ITEMS_FOR_LARGE_REPL_PAR,
            cassandra_settings.max_items_for_large_replication_degree)
        jmx.set_value(SLEEP_TIME_PAR, cassandra_settings.sleep_time)