Skip to content

Register the cluster server with the master server #26

@Makosai

Description

@Makosai
  • Send a ClusterSetup::Init to the Master Server with the length + version number as a string and the length + key name as a string as well.
  • Send a ClusterSetup::AnswerSecret when receiving a ClusterSetup::Init from the Master Server. It should send back the decrypted passphrase. No length is required because it should be a fixed length anyways (20 characters). IP, port, max connections, and length + name also required.
  • If the cluster receives the AnswerSecret command back, that means its a success. Otherwise it fails and the server should not try again. Maintain a connection with the Master Server afterwards if successful.
  • If successful, it should try reconnecting to the Master Server on a lost connection.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions