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.
117 lines
4.3 KiB
XML
117 lines
4.3 KiB
XML
<datastore>
|
|
<profiles>
|
|
<default>
|
|
<max_memory_usage>10000000000</max_memory_usage>
|
|
<force_index_by_date>0</force_index_by_date>
|
|
<replication_alter_partitions_sync>2</replication_alter_partitions_sync>
|
|
<constraints>
|
|
<max_memory_usage>
|
|
<min>5000000000</min>
|
|
<max>20000000000</max>
|
|
<disallowed>6000000000</disallowed>
|
|
<disallowed>6000000001</disallowed>
|
|
</max_memory_usage>
|
|
<merge_tree_max_parts_in_total>
|
|
<min>1000</min>
|
|
<max>200000</max>
|
|
<disallowed>5000</disallowed>
|
|
</merge_tree_max_parts_in_total>
|
|
<merge_tree_enable_block_number_column>
|
|
<const/>
|
|
</merge_tree_enable_block_number_column>
|
|
<force_index_by_date>
|
|
<readonly/>
|
|
</force_index_by_date>
|
|
<replication_alter_partitions_sync>
|
|
<readonly/>
|
|
</replication_alter_partitions_sync>
|
|
</constraints>
|
|
</default>
|
|
|
|
<readonly_profile>
|
|
<readonly>1</readonly>
|
|
</readonly_profile>
|
|
|
|
<no_dll_profile>
|
|
<allow_ddl>0</allow_ddl>
|
|
</no_dll_profile>
|
|
|
|
<!-- Same constraint as <merge_tree_enable_block_number_column> above, but declared
|
|
via the alias name. Used to exercise the reverse direction (constraint on alias,
|
|
query via canonical) of MergeTreeSettings alias resolution. -->
|
|
<alias_constraint_profile>
|
|
<constraints>
|
|
<merge_tree_allow_experimental_block_number_column>
|
|
<const/>
|
|
</merge_tree_allow_experimental_block_number_column>
|
|
</constraints>
|
|
</alias_constraint_profile>
|
|
|
|
<!-- Empty profile used as the system-wide default_profile (see configs/no_default_constraints.xml).
|
|
SQL-created users without an explicit profile fall back to this one, so the role test below
|
|
starts from a base profile with no merge_tree constraints and the constraint reaches the
|
|
user only via the granted role. -->
|
|
<empty_profile>
|
|
</empty_profile>
|
|
|
|
<!-- A clamp target (min) that also appears in disallowed_values. Used to verify that the
|
|
disallowed check sees the post-clamp value rather than the pre-clamp value. -->
|
|
<overlap_constraint_profile>
|
|
<constraints>
|
|
<max_memory_usage>
|
|
<min>5000000000</min>
|
|
<disallowed>5000000000</disallowed>
|
|
</max_memory_usage>
|
|
</constraints>
|
|
</overlap_constraint_profile>
|
|
</profiles>
|
|
|
|
<users>
|
|
<default>
|
|
<password></password>
|
|
<networks incl="networks" replace="replace">
|
|
<ip>::/0</ip>
|
|
</networks>
|
|
<profile>default</profile>
|
|
<quota>default</quota>
|
|
</default>
|
|
<readonly_user>
|
|
<password></password>
|
|
<networks incl="networks" replace="replace">
|
|
<ip>::/0</ip>
|
|
</networks>
|
|
<profile>readonly_profile</profile>
|
|
<quota>default</quota>
|
|
</readonly_user>
|
|
<no_dll_user>
|
|
<password></password>
|
|
<networks incl="networks" replace="replace">
|
|
<ip>::/0</ip>
|
|
</networks>
|
|
<profile>no_dll_profile</profile>
|
|
<quota>default</quota>
|
|
</no_dll_user>
|
|
<alias_constraint_user>
|
|
<password></password>
|
|
<networks incl="networks" replace="replace">
|
|
<ip>::/0</ip>
|
|
</networks>
|
|
<profile>alias_constraint_profile</profile>
|
|
<quota>default</quota>
|
|
</alias_constraint_user>
|
|
<overlap_constraint_user>
|
|
<password></password>
|
|
<networks incl="networks" replace="replace">
|
|
<ip>::/0</ip>
|
|
</networks>
|
|
<profile>overlap_constraint_profile</profile>
|
|
<quota>default</quota>
|
|
</overlap_constraint_user>
|
|
</users>
|
|
|
|
<quotas>
|
|
<default>
|
|
</default>
|
|
</quotas>
|
|
</datastore>
|