Merge branch 'fix_nukeeper_default_path' into persistent_nukeeper_snapshot_storage

This commit is contained in:
alesapin 2021-03-04 11:30:54 +03:00
commit 3a0b9102d8

View File

@ -26,7 +26,7 @@ NuKeeperStateManager::NuKeeperStateManager(
const CoordinationSettingsPtr & coordination_settings) const CoordinationSettingsPtr & coordination_settings)
: my_server_id(my_server_id_) : my_server_id(my_server_id_)
, log_store(nuraft::cs_new<NuKeeperLogStore>( , log_store(nuraft::cs_new<NuKeeperLogStore>(
config.getString(config_prefix + ".log_storage_path"), config.getString(config_prefix + ".log_storage_path", config.getString("path", DBMS_DEFAULT_PATH) + "coordination/logs"),
coordination_settings->rotate_log_storage_interval, coordination_settings->force_sync)) coordination_settings->rotate_log_storage_interval, coordination_settings->force_sync))
, cluster_config(nuraft::cs_new<nuraft::cluster_config>()) , cluster_config(nuraft::cs_new<nuraft::cluster_config>())
{ {