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 Sze (Jira)" <ji...@apache.org> on 2026/10/10 22:45:00 UTC
[jira] [Resolved] (RATIS-2733) Make Raft server executor shutdown wait time configurable
[ https://issues.apache.org/jira/browse/RATIS-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-2733.
-------------------------------
Fix Version/s: 3.4.0
Resolution: Fixed
The pull request is now merged. Thanks, [~amaliujia] !
> 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
> Fix For: 3.4.0
>
> 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)