FlyDB icon indicating copy to clipboard operation
FlyDB copied to clipboard

Feat/raft transport comp (#180)

Open saeid-a opened this issue 2 years ago • 2 comments

I have completed the initial implementation of the raft transport. Can you review it and let me know if there are any issues or if it looks good? Thank you.

saeid-a avatar Jul 24 '23 05:07 saeid-a

Can you directly submit the code to the branch of the main project ByteStorage/FlyDB in the later stage, so that we can switch branches for viewing, which will be more convenient!

sjcsjc123 avatar Jul 24 '23 14:07 sjcsjc123

If all the components of the raft are implemented, we can test whether they can be used normally in this way:

  1. Start three store nodes through grpc and create one new raft node each

  2. Obtain the number of peers in the store cluster and the leader of cluster, observing if they can be successfully obtained

  3. Close one of the store nodes

  4. Observe again whether the number of peers in the store cluster and the leader of cluster can be successfully obtained

  5. Restart the recently closed store node

  6. Observe whether the number of peers in the store cluster has returned to normal

Can you share your opinion?

sjcsjc123 avatar Jul 24 '23 15:07 sjcsjc123