[ 
https://issues.apache.org/jira/browse/RATIS-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rui Wang updated RATIS-2733:
----------------------------
    Description: 
Executor shutdown during Raft server close currently waits up to one day via 
ConcurrentUtils.shutdownAndWait(ExecutorService), which hardcodes 
TimeDuration.ONE_DAY. That wait is not tunable for deployments where executors 
should finish sooner or need a longer grace period.


For example, one application reported that the application was blocked by this 
fixed one day wait time, could not close itself and also lost responding 

  was:Executor shutdown during Raft server close currently waits up to one day 
via ConcurrentUtils.shutdownAndWait(ExecutorService), which hardcodes 
TimeDuration.ONE_DAY. That wait is not tunable for deployments where executors 
should finish sooner or need a longer grace period.


> Make Raft server executor shutdown wait time configurable
> ---------------------------------------------------------
>
>                 Key: RATIS-2733
>                 URL: https://issues.apache.org/jira/browse/RATIS-2733
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>
> Executor shutdown during Raft server close currently waits up to one day via 
> ConcurrentUtils.shutdownAndWait(ExecutorService), which hardcodes 
> TimeDuration.ONE_DAY. That wait is not tunable for deployments where 
> executors should finish sooner or need a longer grace period.
> For example, one application reported that the application was blocked by 
> this fixed one day wait time, could not close itself and also lost responding 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to