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/08/10 06:00:00 UTC
[jira] [Created] (RATIS-1668) When there is an existing dir, if it fails, server should not initialize a new dir
Tsz-wo Sze created RATIS-1668:
---------------------------------
Summary: When there is an existing dir, if it 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
[~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)