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 2022/07/01 06:14:00 UTC
[jira] [Created] (RATIS-1609) RaftStorageImpl should not lock the directory in the constructor.
Tsz-wo Sze created RATIS-1609:
---------------------------------
Summary: RaftStorageImpl should not lock the directory in the constructor.
Key: RATIS-1609
URL: https://issues.apache.org/jira/browse/RATIS-1609
Project: Ratis
Issue Type: Bug
Components: server
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
As [~sammichen] pointed out in https://github.com/apache/ratis/pull/561 , RaftStorageImpl acquires a file lock in the constructor. This breaks the lifecycle state of RaftServerImpl since RaftServerImpl holds resources (the file lock) in the NEW state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)