diff options
author | alexnick <alexnick@ydb.tech> | 2022-09-21 14:23:40 +0300 |
---|---|---|
committer | alexnick <alexnick@ydb.tech> | 2022-09-21 14:23:40 +0300 |
commit | 910ebbcaff2fe66589aaad2fe0cdc1fb4e857d06 (patch) | |
tree | bed3998c6248959bea84dd7c13d852640e734125 | |
parent | 3c4e9491da8a5ee5d6aab7fd6511531cd6c83ca9 (diff) | |
download | ydb-910ebbcaff2fe66589aaad2fe0cdc1fb4e857d06.tar.gz |
fix for ChooseProxy
-rw-r--r-- | ydb/core/client/server/grpc_proxy_status.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/client/server/grpc_proxy_status.cpp b/ydb/core/client/server/grpc_proxy_status.cpp index 827335ad40..802a943c3e 100644 --- a/ydb/core/client/server/grpc_proxy_status.cpp +++ b/ydb/core/client/server/grpc_proxy_status.cpp @@ -100,6 +100,7 @@ public: Y_VERIFY(!nodesInfo->Nodes.empty()); Nodes.reserve(nodesInfo->Nodes.size()); for (const auto& ni : nodesInfo->Nodes) { + if (ni.Port != AppData(ctx)->PQConfig.GetLegacyApiPort()) continue; NodeNames[ni.NodeId] = ni.Host; NodeDataCenter[ni.NodeId] = ni.Location.GetDataCenterId(); SendRequest(ni.NodeId, ctx); |