Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. A client sends a request to ClientServer;
  2. ClientServer reads the request of a socket and lets Coordinator handle it;
  3. Coordinator lets MetaMember handle the request;
  4. MetaMember creates a log for the operation and appends it to its RaftLogManager;
  5. MetaMember sends the log to its followers;
  6. When MetaMember gathers enough responses from the followers, it commits the log through its RaftLogManager;
  7. Depending on what the operation is, its RaftLogManager applies the log to the underlying IoTDB or the partition table;
  8. The result of the operation is returned to the client;

...

  1. A client sends a request to the coordinator's ClientServer;
  2. ClientServer parses the request and lets MetaMember Coordinator handle it;
  3. MetaMember Coordinator routes the request with the help of its coordinatormetaMember;
  4. MetaMember sends the request to the DataGroup(s) that should process it; the request may be split before sending to each DataGroup;
  5. The receivers process the request and return their responses to MetaMember;
  6. MetaMember concludes the results and return it to the client;

...