mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Runtime regression from the final lowercase pass: it renamed <clickhouse> opening tags to <datastore> but the / exclusion (protecting /clickhouse paths) left </clickhouse> closing tags, so embedded + shipped configs became <datastore>...</clickhouse> -> SAXParseException 'Tag mismatch' at runtime (compile was fine; XML is data). Renamed all <clickhouse/</clickhouse XML tags -> datastore (101 closes across configs, embedded strings, keeper configs). Path strings (/var/lib/clickhouse) have no angle bracket and are untouched. Build compiled; this fixes runtime config parsing.
65 lines
3.0 KiB
XML
65 lines
3.0 KiB
XML
<datastore>
|
|
<timezone>Etc/UTC</timezone>
|
|
<listen_host>0.0.0.0</listen_host>
|
|
<custom_settings_prefixes>custom_</custom_settings_prefixes>
|
|
<path>/var/lib/clickhouse/</path>
|
|
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
|
|
|
|
<!-- For tests which check compatibility with older versions. -->
|
|
<users_config>users.xml</users_config>
|
|
|
|
<mlock_executable>false</mlock_executable>
|
|
<skip_binary_checksum_checks>true</skip_binary_checksum_checks>
|
|
|
|
<logger>
|
|
<level>test</level>
|
|
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
|
|
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
|
|
<size>1000M</size>
|
|
<count>10</count>
|
|
<stderr>/var/log/clickhouse-server/stderr.log</stderr>
|
|
<stdout>/var/log/clickhouse-server/stdout.log</stdout>
|
|
<rotateOnOpen>true</rotateOnOpen>
|
|
</logger>
|
|
|
|
<access_control_improvements>
|
|
<throw_on_unmatched_row_policies>true</throw_on_unmatched_row_policies>
|
|
<users_without_row_policies_can_read_rows>true</users_without_row_policies_can_read_rows>
|
|
<on_cluster_queries_require_cluster_grant>true</on_cluster_queries_require_cluster_grant>
|
|
<select_from_system_db_requires_grant>true</select_from_system_db_requires_grant>
|
|
<select_from_information_schema_requires_grant>true</select_from_information_schema_requires_grant>
|
|
<settings_constraints_replace_previous>true</settings_constraints_replace_previous>
|
|
<allow_impersonate_user>true</allow_impersonate_user>
|
|
<role_cache_expiration_time_seconds>2</role_cache_expiration_time_seconds>
|
|
</access_control_improvements>
|
|
|
|
<custom_cached_disks_base_directory replace="replace">/</custom_cached_disks_base_directory>
|
|
|
|
<!-- Reduce memory consumption a lot, especially make sense for wide system tables and santizier builds -->
|
|
<!-- Simple merge of dozen of rows of system.metric_log can consume gigabytes of memory -->
|
|
<merge_tree>
|
|
<vertical_merge_algorithm_min_rows_to_activate>1</vertical_merge_algorithm_min_rows_to_activate>
|
|
<vertical_merge_algorithm_min_columns_to_activate>1</vertical_merge_algorithm_min_columns_to_activate>
|
|
</merge_tree>
|
|
|
|
<!-- Remove the default remote server to avoid people depending on its hardcoded config -->
|
|
<remote_servers remove="remove"></remote_servers>
|
|
|
|
<!-- Allow sending query plan -->
|
|
<process_query_plan_packet>true</process_query_plan_packet>
|
|
|
|
<jemalloc_flush_profile_interval_bytes>1073741824</jemalloc_flush_profile_interval_bytes>
|
|
<jemalloc_flush_profile_on_memory_exceeded>1</jemalloc_flush_profile_on_memory_exceeded>
|
|
|
|
<background_schedule_pool_size>80</background_schedule_pool_size>
|
|
<background_pool_size>20</background_pool_size>
|
|
<max_thread_pool_size>1000</max_thread_pool_size>
|
|
<thread_pool_queue_size>1000</thread_pool_queue_size>
|
|
|
|
<opentelemetry_span_log remove="1"/>
|
|
<metric_log remove="1"/>
|
|
<asynchronous_metric_log remove="1"/>
|
|
<processors_profile_log remove="1"/>
|
|
<query_thread_log remove="1"/>
|
|
</datastore>
|