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

ASF GitHub Bot updated HDDS-13572:
----------------------------------
    Labels: pull-request-available  (was: )

> SCMSnapshotProvider should not auto-create Ratis directory
> ----------------------------------------------------------
>
>                 Key: HDDS-13572
>                 URL: https://issues.apache.org/jira/browse/HDDS-13572
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM HA
>            Reporter: Tsz-wo Sze
>            Assignee: Chia-Chuan Ho
>            Priority: Major
>              Labels: pull-request-available
>
> SCMSnapshotProvider should not auto-create a Ratis directory in its 
> constructor.  Auto-create could cause data loss since the existing data will 
> be forgotten.
> Instead, it should take a startup option parameter:
> - FORMAT: the Ratis directory should not exist.  If not, throw an exception. 
> Then, it will create and initialize a new Ratis directory.
> - NORMAL: the Ratis directory should already exist.  If not, throw an 
> exception.  Then, it will read from the existing Ratis directory.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to