the option is only used when mds is recovering.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Option("mds_replay_unsafe_with_closed_session", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(false)
- .set_flag(Option::FLAG_RUNTIME)
+ .set_flag(Option::FLAG_STARTUP)
.set_description("complete all the replay request when mds is restarted, no matter the session is closed or not"),
Option("mds_default_dir_hash", Option::TYPE_INT, Option::LEVEL_ADVANCED)
"mds_recall_warning_decay_rate",
"mds_request_load_average_decay_rate",
"mds_session_cache_liveness_decay_rate",
- "mds_replay_unsafe_with_closed_session",
"mds_heartbeat_grace",
NULL
};
if (changed.count("mds_forward_all_requests_to_auth")){
forward_all_requests_to_auth = g_conf().get_val<bool>("mds_forward_all_requests_to_auth");
}
- if (changed.count("mds_replay_unsafe_with_closed_session")) {
- replay_unsafe_with_closed_session = g_conf().get_val<bool>("mds_replay_unsafe_with_closed_session");
- }
if (changed.count("mds_cap_revoke_eviction_timeout")) {
cap_revoke_eviction_timeout = g_conf().get_val<double>("mds_cap_revoke_eviction_timeout");
dout(20) << __func__ << " cap revoke eviction timeout changed to "