[
https://issues.apache.org/jira/browse/RATIS-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-2733:
------------------------------
Component/s: server
> 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
> Components: server
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)