Skip to content

Commit

Permalink
fixed .proto
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Oct 13, 2024
1 parent 5e9a1a5 commit aaa6763
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ydb/core/mind/node_broker.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ struct TEvNodeBroker {
};

struct TEvDecommissionResponse : public TEventPB<TEvDecommissionResponse,
NKikimrNodeBroker::TEvDecommissionResponse,
NKikimrNodeBroker::TDecommissionResponse,
EvDecommissionResponse> {
};

Expand Down
2 changes: 1 addition & 1 deletion ydb/core/mind/node_broker__decommission_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TNodeBroker::TTxDecommissionNode : public TTransactionBase<TNodeBroker> {
TEvNodeBroker::TEvDecommissionRequest::TPtr Event;
//const std::optional<ui32> SlotIndex;
//const TSubDomainKey ServicedSubDomain;
TAutoPtr<TEvNodeBroker::TEvDecommissionRequest> Response;
TAutoPtr<TEvNodeBroker::TEvDecommissionResponse> Response;
};

ITransaction *TNodeBroker::CreateTxDecommissionNode(TEvNodeBroker::TEvDecommissionRequest::TPtr &ev)
Expand Down
1 change: 1 addition & 0 deletions ydb/core/protos/counters_node_broker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ enum ETxTypes {
TXTYPE_UPDATE_CONFIG = 4 [(TxTypeOpts) = {Name: "TTxUpdateConfig"}];
TXTYPE_UPDATE_CONFIG_SUBSCRIPTION = 5 [(TxTypeOpts) = {Name: "TTxUpdateConfigSubscription"}];
TXTYPE_UPDATE_EPOCH = 6 [(TxTypeOpts) = {Name: "TTxUpdateEpoch"}];
TXTYPE_DECOMMISSION_NODE = 7 [(TxTypeOpts) = {Name: "TTxDecommissionNode"}];
}
9 changes: 6 additions & 3 deletions ydb/core/protos/node_broker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,14 @@ message TRegistrationResponse {
}

message TDecommissionRequest {

optional string Host = 1;
optional uint32 Port = 2;
optional string Address = 3;
}

message TDecomissionResponse {

message TDecommissionResponse {
optional TStatus Status = 1;
optional TNodeInfo Node = 2;
}

message TExtendLeaseRequest {
Expand Down

0 comments on commit aaa6763

Please sign in to comment.