You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/01/24 23:12:00 UTC

[jira] [Created] (RATIS-202) RaftServerProxy.getInfoAsync uses a thread to wait

Tsz Wo Nicholas Sze created RATIS-202:
-----------------------------------------

             Summary: RaftServerProxy.getInfoAsync uses a thread to wait
                 Key: RATIS-202
                 URL: https://issues.apache.org/jira/browse/RATIS-202
             Project: Ratis
          Issue Type: Improvement
            Reporter: Tsz Wo Nicholas Sze


It calls impl.get() inside CompletableFuture.supplyAsync() so that it unnecessarily uses a thread to wait.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)