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)