[
https://issues.apache.org/jira/browse/HDDS-5941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472357#comment-17472357
]
Bharat Viswanadham commented on HDDS-5941:
------------------------------------------
As SCM supports HA, for now we can leave it.
But it is good to bring this for non-HA clusters.
> Enable sync option for SCM non-HA
> ----------------------------------
>
> Key: HDDS-5941
> URL: https://issues.apache.org/jira/browse/HDDS-5941
> Project: Apache Ozone
> Issue Type: Task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Fix For: 0.5.0
>
>
> In SCM non-HA when we use rocksdb put, it should write to DB with sync turned
> on. As in non-HA when power failure/system crashes, the operations which are
> acknowledged by SCM might be lost in this kind of scenario. (As in rocks DB
> with Sync false, the flush is asynchronous and it will not persist to storage
> system)
>
> In HA, this is not a problem because the guarantee is provided by ratis and
> ratis logs.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]