THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- A client sends a request to ClientServer;
- ClientServer reads the request of a socket and lets Coordinator handle it;
- Coordinator lets MetaMember handle the request;
- MetaMember creates a log for the operation and appends it to its RaftLogManager;
- MetaMember sends the log to its followers;
- When MetaMember gathers enough responses from the followers, it commits the log through its RaftLogManager;
- Depending on what the operation is, its RaftLogManager applies the log to the underlying IoTDB or the partition table;
- The result of the operation is returned to the client;
...
- A client sends a request to the coordinator's ClientServer;
- ClientServer parses the request and lets MetaMember Coordinator handle it;
- MetaMember Coordinator routes the request with the help of its coordinatormetaMember;
- MetaMember sends the request to the DataGroup(s) that should process it; the request may be split before sending to each DataGroup;
- The receivers process the request and return their responses to MetaMember;
- MetaMember concludes the results and return it to the client;
...