mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
mds: alphabetize tracked config keys
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
parent
91fed04c49
commit
0cbac2f856
@ -3658,43 +3658,40 @@ epoch_t MDSRank::get_osd_epoch() const
|
||||
const char** MDSRankDispatcher::get_tracked_conf_keys() const
|
||||
{
|
||||
static const char* KEYS[] = {
|
||||
"mds_op_complaint_time", "mds_op_log_threshold",
|
||||
"mds_op_history_size", "mds_op_history_duration",
|
||||
"mds_enable_op_tracker",
|
||||
"mds_log_pause",
|
||||
// clog & admin clog
|
||||
"clog_to_graylog",
|
||||
"clog_to_graylog_host",
|
||||
"clog_to_graylog_port",
|
||||
"clog_to_monitors",
|
||||
"clog_to_syslog",
|
||||
"clog_to_syslog_facility",
|
||||
"clog_to_syslog_level",
|
||||
"clog_to_graylog",
|
||||
"clog_to_graylog_host",
|
||||
"clog_to_graylog_port",
|
||||
// MDCache
|
||||
"mds_cache_size",
|
||||
"mds_cache_memory_limit",
|
||||
"mds_cache_reservation",
|
||||
"mds_health_cache_threshold",
|
||||
"mds_cache_mid",
|
||||
"mds_dump_cache_threshold_formatter",
|
||||
"mds_cache_trim_decay_rate",
|
||||
"mds_dump_cache_threshold_file",
|
||||
// MDBalancer
|
||||
"fsid",
|
||||
"host",
|
||||
"mds_bal_fragment_dirs",
|
||||
"mds_bal_fragment_interval",
|
||||
// PurgeQueue
|
||||
"mds_cache_memory_limit",
|
||||
"mds_cache_mid",
|
||||
"mds_cache_reservation",
|
||||
"mds_cache_size",
|
||||
"mds_cache_trim_decay_rate",
|
||||
"mds_cap_revoke_eviction_timeout",
|
||||
"mds_dump_cache_threshold_file",
|
||||
"mds_dump_cache_threshold_formatter",
|
||||
"mds_enable_op_tracker",
|
||||
"mds_health_cache_threshold",
|
||||
"mds_inject_migrator_session_race",
|
||||
"mds_log_pause",
|
||||
"mds_max_export_size",
|
||||
"mds_max_purge_files",
|
||||
"mds_max_purge_ops",
|
||||
"mds_max_purge_ops_per_pg",
|
||||
"mds_max_purge_files",
|
||||
// Migrator
|
||||
"mds_max_export_size",
|
||||
"mds_inject_migrator_session_race",
|
||||
"host",
|
||||
"fsid",
|
||||
"mds_cap_revoke_eviction_timeout",
|
||||
// SessionMap
|
||||
"mds_request_load_average_decay_rate",
|
||||
"mds_op_complaint_time",
|
||||
"mds_op_history_duration",
|
||||
"mds_op_history_size",
|
||||
"mds_op_log_threshold",
|
||||
"mds_recall_max_decay_rate",
|
||||
"mds_recall_warning_decay_rate",
|
||||
"mds_request_load_average_decay_rate",
|
||||
NULL
|
||||
};
|
||||
return KEYS;
|
||||
|
@ -633,7 +633,7 @@ public:
|
||||
void handle_osd_map();
|
||||
void update_log_config();
|
||||
|
||||
const char** get_tracked_conf_keys() const final;
|
||||
const char** get_tracked_conf_keys() const override final;
|
||||
void handle_conf_change(const ConfigProxy& conf, const std::set<std::string>& changed) override;
|
||||
|
||||
bool handle_command(
|
||||
|
Loading…
Reference in New Issue
Block a user