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:29:00 UTC

[jira] [Updated] (RATIS-1668) When an existing dir fails, server should not initialize a new dir

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

Tsz-wo Sze updated RATIS-1668:
------------------------------
    Summary: When an existing dir fails, server should not initialize a new dir  (was: When there is an existing dir, if it fails, server should not initialize a new dir)

> 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
>
> [~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)