Skip to content

Commit 65cf63d

Browse files
committed
clickhouse-admin: enable part log.
To help investigate issues like #9234, enable the ClickHouse part log. This will help us understand, for example, whether a part has been merged into a new part, or is missing.
1 parent 926bdd2 commit 65cf63d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

clickhouse-admin/types/src/config.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ impl ReplicaConfig {
178178
<flush_on_crash>false</flush_on_crash>
179179
</asynchronous_metric_log>
180180
181+
<part_log>
182+
<database>system</database>
183+
<table>part_log</table>
184+
</part_log>
185+
181186
<tmp_path>{temp_files_path}</tmp_path>
182187
<user_files_path>{user_files_path}</user_files_path>
183188
<default_profile>default</default_profile>

clickhouse-admin/types/testutils/replica-server-config.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
<flush_on_crash>false</flush_on_crash>
8282
</asynchronous_metric_log>
8383

84+
<part_log>
85+
<database>system</database>
86+
<table>part_log</table>
87+
</part_log>
88+
8489
<tmp_path>./data/tmp</tmp_path>
8590
<user_files_path>./data/user_files</user_files_path>
8691
<default_profile>default</default_profile>

0 commit comments

Comments
 (0)