[
https://issues.apache.org/jira/browse/RATIS-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-1668.
-------------------------------
Resolution: Duplicate
This was fixed as a part of RATIS-1677. Resolving ...
> When an existing dir fails, server should not initialize a new dir
> ------------------------------------------------------------------
>
> Key: RATIS-1668
> URL: https://issues.apache.org/jira/browse/RATIS-1668
> Project: Ratis
> Issue Type: Improvement
> Components: server
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [~NeilJoshi] reported this in HDDS-7103.
> Currently, when there is an existing directory dirA, if dirA fails for some
> reason, RaftServer will try to initialize another directory dirB from the
> list specified in the configuration properties. Suppose dirB can be
> initialized successfully. The server can start at that time. However, when
> the server restarts, it may find dirA and dirB exist at the same time and
> then throw an exception. It is because the server cannot decide which one to
> use.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)