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

Tsz-wo Sze resolved RATIS-1609.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

The pull request is now merged.

> 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
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to