updated vector state

This commit is contained in:
Paul 2023-12-12 16:12:00 +01:00
parent 2f62aaf91f
commit 0033bec333
2 changed files with 5 additions and 3 deletions

View File

@ -4,13 +4,13 @@
{%- for nodename, settings in clickhouse.clusters[clickhouse.cluster].nodes.items() %}
<node>
<host>{{ nodename }}</host>
<port>{{ settings.port|default(9281) }}</port>
<port>9281</port>
<secure>1</secure>
</node>
{%- endfor %}
</zookeeper>
<keeper_server>
<tcp_port_secure>{{ settings.port|default(9281) }}</tcp_port_secure>
<tcp_port_secure>9281</tcp_port_secure>
<server_id>{{ clickhouse.clusters[clickhouse.cluster].nodes[salt['grains.get']('fqdn')].id }}</server_id>
<log_storage_path>/var/lib/clickhouse/coordination/log</log_storage_path>
<snapshot_storage_path>/var/lib/clickhouse/coordination/snapshots</snapshot_storage_path>
@ -27,7 +27,7 @@
<server>
<id>{{ settings.id }}</id>
<hostname>{{ nodename }}</hostname>
<port>{{ settings.port|default(9444) }}</port>
<port>9444</port>
</server>
{%- endfor %}
</raft_configuration>

View File

@ -5,6 +5,8 @@
<default_replica_path>/clickhouse/{cluster}/tables/{uuid}/{database}/{table}-{shard}</default_replica_path>
<logger>
<level>fatal</level>
<count>5</count>
<size>200M</size>
</logger>
<max_server_memory_usage_to_ram_ratio>0.5</max_server_memory_usage_to_ram_ratio>
<tcp_port_secure>9440</tcp_port_secure>