Skip to content

Comments

fix#37#38

Open
liuzihua699 wants to merge 1 commit intowenweihu86:masterfrom
liuzihua699:fix
Open

fix#37#38
liuzihua699 wants to merge 1 commit intowenweihu86:masterfrom
liuzihua699:fix

Conversation

@liuzihua699
Copy link

问题产生原因如 #24 所述
解决如下:

  1. 用一个map存peer->service
  2. 当客户端发起写调用,且该节点不为leader时,直接从map中取出对应的service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant