diff options
author | Alexander Rutkovsky <alexvru@mail.ru> | 2022-02-10 16:47:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:39 +0300 |
commit | f3646f91e0de459836a7800b9ce3e8dc57a2ab3a (patch) | |
tree | 25c1423200152570c1f8307e5b8304b9bc3840c5 /library/cpp/actors/protos/interconnect.proto | |
parent | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (diff) | |
download | ydb-f3646f91e0de459836a7800b9ce3e8dc57a2ab3a.tar.gz |
Restoring authorship annotation for Alexander Rutkovsky <alexvru@mail.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/protos/interconnect.proto')
-rw-r--r-- | library/cpp/actors/protos/interconnect.proto | 134 |
1 files changed, 67 insertions, 67 deletions
diff --git a/library/cpp/actors/protos/interconnect.proto b/library/cpp/actors/protos/interconnect.proto index 2e3b0d0d15..4bfaa54179 100644 --- a/library/cpp/actors/protos/interconnect.proto +++ b/library/cpp/actors/protos/interconnect.proto @@ -1,12 +1,12 @@ import "library/cpp/actors/protos/actors.proto"; -import "google/protobuf/descriptor.proto"; - +import "google/protobuf/descriptor.proto"; + package NActorsInterconnect; option java_package = "ru.yandex.kikimr.proto"; message TEvResolveNode { optional uint32 NodeId = 1; - optional uint64 Deadline = 2; + optional uint64 Deadline = 2; } message TEvNodeInfo { @@ -15,34 +15,34 @@ message TEvNodeInfo { optional uint32 Port = 3; } -extend google.protobuf.FieldOptions { - optional string PrintName = 50376; -} - -message TNodeLocation { - // compatibility section -- will be removed in future versions - optional uint32 DataCenterNum = 1 [deprecated=true]; - optional uint32 RoomNum = 2 [deprecated=true]; - optional uint32 RackNum = 3 [deprecated=true]; - optional uint32 BodyNum = 4 [deprecated=true]; - optional uint32 Body = 100500 [deprecated=true]; // for compatibility with WalleLocation - - optional string DataCenter = 10 [(PrintName) = "DC"]; - optional string Module = 20 [(PrintName) = "M"]; - optional string Rack = 30 [(PrintName) = "R"]; - optional string Unit = 40 [(PrintName) = "U"]; -} - -message TClusterUUIDs { - optional string ClusterUUID = 1; - repeated string AcceptUUID = 2; -} - -message TScopeId { - optional fixed64 X1 = 1; - optional fixed64 X2 = 2; +extend google.protobuf.FieldOptions { + optional string PrintName = 50376; } +message TNodeLocation { + // compatibility section -- will be removed in future versions + optional uint32 DataCenterNum = 1 [deprecated=true]; + optional uint32 RoomNum = 2 [deprecated=true]; + optional uint32 RackNum = 3 [deprecated=true]; + optional uint32 BodyNum = 4 [deprecated=true]; + optional uint32 Body = 100500 [deprecated=true]; // for compatibility with WalleLocation + + optional string DataCenter = 10 [(PrintName) = "DC"]; + optional string Module = 20 [(PrintName) = "M"]; + optional string Rack = 30 [(PrintName) = "R"]; + optional string Unit = 40 [(PrintName) = "U"]; +} + +message TClusterUUIDs { + optional string ClusterUUID = 1; + repeated string AcceptUUID = 2; +} + +message TScopeId { + optional fixed64 X1 = 1; + optional fixed64 X2 = 2; +} + message THandshakeRequest { required uint64 Protocol = 1; @@ -56,22 +56,22 @@ message THandshakeRequest { optional string SenderHostName = 7; optional string ReceiverHostName = 8; optional string UUID = 9; - optional TClusterUUIDs ClusterUUIDs = 13; - - optional bytes Ballast = 10; - - optional string VersionTag = 11; - repeated string AcceptedVersionTags = 12; - - optional bool RequireEncryption = 14; - optional TScopeId ClientScopeId = 15; - - optional string Cookie = 16; - optional bool DoCheckCookie = 17; - - optional bool RequestModernFrame = 18; - - optional bool RequestAuthOnly = 19; + optional TClusterUUIDs ClusterUUIDs = 13; + + optional bytes Ballast = 10; + + optional string VersionTag = 11; + repeated string AcceptedVersionTags = 12; + + optional bool RequireEncryption = 14; + optional TScopeId ClientScopeId = 15; + + optional string Cookie = 16; + optional bool DoCheckCookie = 17; + + optional bool RequestModernFrame = 18; + + optional bool RequestAuthOnly = 19; } message THandshakeSuccess { @@ -82,32 +82,32 @@ message THandshakeSuccess { required uint64 Serial = 4; required string SenderActorId = 5; - - optional string VersionTag = 6; - repeated string AcceptedVersionTags = 7; - - optional TClusterUUIDs ClusterUUIDs = 8; - - optional bool StartEncryption = 9; - optional TScopeId ServerScopeId = 10; - - optional bool UseModernFrame = 11; - - optional bool AuthOnly = 12; + + optional string VersionTag = 6; + repeated string AcceptedVersionTags = 7; + + optional TClusterUUIDs ClusterUUIDs = 8; + + optional bool StartEncryption = 9; + optional TScopeId ServerScopeId = 10; + + optional bool UseModernFrame = 11; + + optional bool AuthOnly = 12; } message THandshakeReply { optional THandshakeSuccess Success = 1; optional string ErrorExplaination = 2; - optional bool CookieCheckResult = 3; + optional bool CookieCheckResult = 3; } - -message TEvLoadMessage { - message THop { + +message TEvLoadMessage { + message THop { optional NActorsProto.TActorId NextHop = 1; // if zero, then the payload is trimmed out of the message - } - - repeated THop Hops = 1; // the route for the message - optional string Id = 3; // message identifier - optional bytes Payload = 4; // data payload -} + } + + repeated THop Hops = 1; // the route for the message + optional string Id = 3; // message identifier + optional bytes Payload = 4; // data payload +} |