Fix style

This commit is contained in:
Nikolay Degterinsky 2024-06-10 15:26:36 +00:00
parent 6fb4514293
commit ec5fa482e4

View File

@ -381,7 +381,7 @@ void DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(LoadingStrictnessL
replica_name, shard_name, zookeeper_path, replica_host_id, host_id);
}
/// Before 24.6 we always created host_id with unsecure port, even if cluster_auth_info.cluster_secure_connection was true.
/// Before 24.6 we always created host_id with insecure port, even if cluster_auth_info.cluster_secure_connection was true.
/// So not to break compatibility, we need to update host_id to secure one if cluster_auth_info.cluster_secure_connection is true.
if (host_id != host_id_default && replica_host_id == host_id_default)
{