-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: adjust to upstream wrt. protobuf
- remove protobuf defintions that are not relevant currently. - adjust code to changes in protobuf and headers.
- Loading branch information
1 parent
ae7e769
commit 88762f6
Showing
22 changed files
with
381 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
syntax = "proto3"; | ||
package event_store.client.gossip; | ||
option java_package = "com.eventstore.client.gossip"; | ||
|
||
import "shared.proto"; | ||
|
||
service Gossip { | ||
rpc Read (event_store.client.Empty) returns (ClusterInfo); | ||
} | ||
|
||
message ClusterInfo { | ||
repeated MemberInfo members = 1; | ||
} | ||
|
||
message EndPoint { | ||
string address = 1; | ||
uint32 port = 2; | ||
} | ||
|
||
message MemberInfo { | ||
enum VNodeState { | ||
Initializing = 0; | ||
DiscoverLeader = 1; | ||
Unknown = 2; | ||
PreReplica = 3; | ||
CatchingUp = 4; | ||
Clone = 5; | ||
Follower = 6; | ||
PreLeader = 7; | ||
Leader = 8; | ||
Manager = 9; | ||
ShuttingDown = 10; | ||
Shutdown = 11; | ||
ReadOnlyLeaderless = 12; | ||
PreReadOnlyReplica = 13; | ||
ReadOnlyReplica = 14; | ||
ResigningLeader = 15; | ||
} | ||
event_store.client.UUID instance_id = 1; | ||
int64 time_stamp = 2; | ||
VNodeState state = 3; | ||
bool is_alive = 4; | ||
EndPoint http_end_point = 5; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.