[ https://issues.apache.org/jira/browse/RATIS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16247978#comment-16247978 ]
Lokesh Jain commented on RATIS-113: ----------------------------------- Thanks for the review [~szetszwo]. v2 patch addresses the comments above. I have also added a config key for setting the maximum number of requests which can run in parallel at the client side. If it is correct I was thinking of adding a config key for determining the number of threads which can be used by the scheduler in RaftClientImpl#sendRequestWithRetryAsync. Further since RaftClient#send throws an IOException, I have configured sendAsync to complete exceptionally in case the reply has an exception set. Reply has an exception set in case of StateMachineException and GroupMismatchException. > Add Async send interface to RaftClient > -------------------------------------- > > Key: RATIS-113 > URL: https://issues.apache.org/jira/browse/RATIS-113 > Project: Ratis > Issue Type: Bug > Reporter: Mukul Kumar Singh > Assignee: Lokesh Jain > Attachments: RATIS-113.001.patch, RATIS-113.002.patch > > > Raft Client currently only has a sync interface, an sync interface is needed > for ozone -- This message was sent by Atlassian JIRA (v6.4.14#64029)