runzhiwang commented on a change in pull request #364:
URL: https://github.com/apache/incubator-ratis/pull/364#discussion_r546213601
##########
File path:
ratis-netty/src/main/java/org/apache/ratis/netty/server/DataStreamManagement.java
##########
@@ -231,23 +232,48 @@ StreamInfo remove(Key key) {
return f;
}
+
+ private IdentityHashMap<RaftPeer, RaftPeer> getRouteTable(RaftClientRequest
request)
Review comment:
IdentityHashMap allows duplicated key, such as primary -> peer1, primary
-> peer2, we can put them in IdentityHashMap, but can not put them in a map
which do not allow duplicated key.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]