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/04/07 13:59:00 UTC

[jira] [Created] (RATIS-224) In RpcTimeout, it should shut down the scheduler if there is no tasks

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

             Summary: In RpcTimeout, it should shut down the scheduler if there is no tasks
                 Key: RATIS-224
                 URL: https://issues.apache.org/jira/browse/RATIS-224
             Project: Ratis
          Issue Type: Improvement
            Reporter: Tsz Wo Nicholas Sze
            Assignee: Tsz Wo Nicholas Sze


Currently, RpcTimeout tracks the number of users.  When the number of users becomes zero, it should shut down the scheduler .

Instead of tracking users, it is better to try the number of tasks.  When the number of tasks becomes zero, it should shut down the scheduler.



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