Skip to content

Commit a17852a

Browse files
committed
clickhouse: update replication config in the correct file.
As a follow-up to #9183, update the replicated_max_ratio_of_wrong_parts setting in the relevant file. After merging the previous PR, we noticed that the change there didn't propagate to the config file in use on the rack. This patch applies that same update to the correct config file in smf/.
1 parent 27a6508 commit a17852a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

smf/clickhouse/config.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
</quotas>
7373

7474
<merge_tree>
75+
<!-- Disable sparse column serialization, which we expect to not need -->
7576
<ratio_of_defaults_for_sparse_serialization>1.0</ratio_of_defaults_for_sparse_serialization>
77+
<!-- Prevent ClickHouse from setting distributed tables to read-only. -->
78+
<!-- See https://github.com/oxidecomputer/omicron/issues/8595 for details. -->
79+
<replicated_max_ratio_of_wrong_parts>1.0</replicated_max_ratio_of_wrong_parts>
7680
</merge_tree>
7781
</clickhouse>

0 commit comments

Comments
 (0)