From f69524cf49bab977fb14e12cbee1484a332e011e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 20 Nov 2018 18:50:42 +0800 Subject: [PATCH] better --- dbms/src/Storages/StorageReplicatedMergeTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/StorageReplicatedMergeTree.cpp b/dbms/src/Storages/StorageReplicatedMergeTree.cpp index e0d0590e0cf..51ef376c6fa 100644 --- a/dbms/src/Storages/StorageReplicatedMergeTree.cpp +++ b/dbms/src/Storages/StorageReplicatedMergeTree.cpp @@ -3906,7 +3906,7 @@ const Cluster::Address & StorageReplicatedMergeTree::findClusterAddress(Replicat } } } - throw Exception("Not found replicate leader host " + leader_address.host + ":" + leader_address.queries_port, ErrorCodes::INCONSISTENT_CLUSTER_DEFINITION); + throw Exception("Not found replicate leader host " + leader_address.host + ":" + DB::toString(leader_address.queries_port) + ", Please check your metrika.xml", ErrorCodes::INCONSISTENT_CLUSTER_DEFINITION); } void StorageReplicatedMergeTree::getQueue(LogEntriesData & res, String & replica_name_)