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)

Reply via email to