raft-java
raft-java copied to clipboard
fix#37
问题产生原因如 #24 所述 解决如下:
- 用一个map存peer->service
- 当客户端发起写调用,且该节点不为leader时,直接从map中取出对应的service