aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authoralexvru <alexvru@ydb.tech>2023-08-14 15:53:46 +0300
committeralexvru <alexvru@ydb.tech>2023-08-14 23:59:23 +0300
commit8d15e67485c2a27b1ca596808ec181b50977d0b8 (patch)
tree0754a3e6237d7db401aba44eddc64607d178ce7c /library/cpp
parenteb548292acbcdd13f1d1f22018d53d262f17e0e6 (diff)
downloadydb-8d15e67485c2a27b1ca596808ec181b50977d0b8.tar.gz
Introduce distributed configuration KIKIMR-19031
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/actors/core/interconnect.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/cpp/actors/core/interconnect.h b/library/cpp/actors/core/interconnect.h
index dd6509f727..46d4fd5303 100644
--- a/library/cpp/actors/core/interconnect.h
+++ b/library/cpp/actors/core/interconnect.h
@@ -195,6 +195,7 @@ namespace NActors {
TString ResolveHost;
ui16 Port;
TNodeLocation Location;
+ bool IsStatic = true;
TNodeInfo() = default;
TNodeInfo(const TNodeInfo&) = default;
@@ -204,13 +205,15 @@ namespace NActors {
const TString& host,
const TString& resolveHost,
ui16 port,
- const TNodeLocation& location)
+ const TNodeLocation& location,
+ bool isStatic = true)
: NodeId(nodeId)
, Address(address)
, Host(host)
, ResolveHost(resolveHost)
, Port(port)
, Location(location)
+ , IsStatic(isStatic)
{
}