Upgrading docker image from 20.4.8.99 to latest (21.11.8.4)

351 views
Skip to first unread message

ervin...@gmail.com

unread,
Dec 23, 2021, 2:45:48 PM12/23/21
to ClickHouse
Hey guys, is it safe to upgrade our docker image of ClickHouse from version 20.4.8.99 to the latest tag 21.11.8.4?

Are there any back compatibility issues that we should be aware of or any procedures we need to take care manually before the upgrade?

Could not find any info in the docs about this so any input is really appreciated.

ervin...@gmail.com

unread,
Dec 24, 2021, 10:58:54 AM12/24/21
to ClickHouse
Quick update:

The upgrade overall went through without any issues but the only thing that is not working is the substitution for remote_servers:

   <remote_servers incl="clickhouse_remote_servers">
       
    </remote_servers>


Anyone aware of issues with the substitution format in the latest versions of ClickHouse? Right now remote_servers definition is being overwritten with the default definition from : /etc/clickhouse-server/config.xml

The substitution for zookeeper is working correctly, so this adds to the weirdness of the issue:

    <zookeeper incl="zookeeper-servers" optional="true" />

My metrica.xml file is defined like this:

<yandex>
    <clickhouse_remote_servers>   
        <single_shard_3_replicas>
            <shard>
                <replica>
                    <host>clickhouse3</host>
                    <port>9000</port>
                </replica>
                <replica>
                    <host>clickhouse4</host>
                    <port>9000</port>

                </replica>
                <replica>
                    <host>clickhouse5</host>
                    <port>9000</port>
                </replica>

            </shard>

        </single_shard_3_replicas>
    </clickhouse_remote_servers>


    <zookeeper-servers>
        <node>
            <host>zoo3</host>
            <port>2181</port>
        </node>
        <node>
            <host>zoo4</host>
            <port>2181</port>
        </node>
        <node>
            <host>zoo5</host>
            <port>2181</port>
        </node>

    </zookeeper-servers>

    <macros>
        <shard>01</shard>
        <replica>serv5</replica>
    </macros>

</yandex>

Denis Zhuravlev

unread,
Dec 24, 2021, 11:07:59 AM12/24/21
to ClickHouse

ervin...@gmail.com

unread,
Dec 24, 2021, 11:52:52 AM12/24/21
to ClickHouse
Thank you Denis, that fixed the issue.
Reply all
Reply to author
Forward
0 new messages