mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Merge branch 'fix_nukeeper_default_path' into persistent_nukeeper_snapshot_storage
This commit is contained in:
commit
3a0b9102d8
@ -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>())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user