forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
17 lines
1.6 KiB
HTML
17 lines
1.6 KiB
HTML
<a name="mrs_01_24837"></a><a name="mrs_01_24837"></a>
|
|
|
|
<h1 class="topictitle1">An Error Is Reported in Logs When the Auxiliary ZooKeeper or Replica Data Is Used to Synchronize Table Data</h1>
|
|
<div id="body0000001532835286"><div class="section" id="mrs_01_24837__section596216754615"><h4 class="sectiontitle">Question</h4><p id="mrs_01_24837__p38643193462">An error is reported in logs when the auxiliary ZooKeeper or replica data is used to synchronize table data.</p>
|
|
<pre class="screen" id="mrs_01_24837__screen1952842817461">DB::Exception: Cannot parse input: expected 'quorum:' before: 'merge_type: 2'…" and "Too many parts (315). Merges are processing significantly slower than inserts…</pre>
|
|
</div>
|
|
<div class="section" id="mrs_01_24837__section1538020516467"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_24837__p1986816104262">The versions of replication table replicas are inconsistent, causing compatibility issues. The table schema contains TTL statements. TTL_DELETE is added in versions later than ClickHouse 20.9, which cannot be identified in earlier versions. This issue occurs when the replication table replica of a later version is elected as the leader.</p>
|
|
<p id="mrs_01_24837__p8060118">You can modify the <strong id="mrs_01_24837__b1482585252213">config.xml</strong> file of ClickHouse of a later version to avoid such an issue. Ensure that the replication table replicas are the same as those of ClickHouse.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_24777.html">ClickHouse FAQ</a></div>
|
|
</div>
|
|
</div>
|
|
|