Open robertcankney opened 5 years ago
Basic calls between servers/persistence:
Basic gRPC modeling:
Additionally, cluster join should be super simple - k8s Secret for initial cluster start secret + later joins, and ConfigMap to point to etcd for remaining info (other nodes, key ranges, etc.)
Pushed proto.
Aiming to move all client/node comm to a single message type with different handling based on type - including an enum to try and simplify state communication.
Aiming for CP over AP, naturally - also included node invalidation to drop nodes to degraded state if a given node cannot get a quorum of other nodes to agree on state of a node. Want to find a good way to approach this without leader election - could do with etcd but want to try and solve without that first. Currently, thinking timed status checks of... maybe owning non-quorum of other nodes for each node to check? Need to spec out further.