Tsz-wo Sze created RATIS-1114:
---------------------------------

             Summary: Change NettyServerStreamRpc to use only one ConcurrentMap
                 Key: RATIS-1114
                 URL: https://issues.apache.org/jira/browse/RATIS-1114
             Project: Ratis
          Issue Type: Sub-task
          Components: Streaming
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


{code}
  private final ConcurrentMap<Long, CompletableFuture<DataStream>> streams = 
new ConcurrentHashMap<>();
  private final ConcurrentMap<Long, List<DataStreamOutput>> peersStreamOutput = 
new ConcurrentHashMap<>();
{code}
The two ConcurrentMaps above should be merged.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to