mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix style
This commit is contained in:
parent
c268296fc6
commit
e91e7fdba7
@ -500,7 +500,7 @@ nuraft::cb_func::ReturnCode KeeperServer::callbackFunc(nuraft::cb_func::Type typ
|
|||||||
raft_instance->forceReconfigure(config);
|
raft_instance->forceReconfigure(config);
|
||||||
|
|
||||||
// Single node cluster doesn't need to wait for any other nodes
|
// Single node cluster doesn't need to wait for any other nodes
|
||||||
// so we can finish recovering immediatelly after applying
|
// so we can finish recovering immediately after applying
|
||||||
// new configuration
|
// new configuration
|
||||||
if (config->get_servers().size() == 1)
|
if (config->get_servers().size() == 1)
|
||||||
finish_recovering();
|
finish_recovering();
|
||||||
|
@ -21,7 +21,7 @@ def get_nodes():
|
|||||||
f"node{i+1}",
|
f"node{i+1}",
|
||||||
main_configs=[
|
main_configs=[
|
||||||
f"configs/enable_keeper{i+1}.xml",
|
f"configs/enable_keeper{i+1}.xml",
|
||||||
f"configs/use_keeper.xml"
|
f"configs/use_keeper.xml",
|
||||||
],
|
],
|
||||||
stay_alive=True,
|
stay_alive=True,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user