You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/23 21:01:00 UTC

[jira] [Updated] (HDDS-5391) Fix issues in SCMHAConfiguration

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

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

> Fix issues in SCMHAConfiguration
> --------------------------------
>
>                 Key: HDDS-5391
>                 URL: https://issues.apache.org/jira/browse/HDDS-5391
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM HA
>            Reporter: Bharat Viswanadham
>            Assignee: Jasen Minton
>            Priority: Major
>              Labels: pull-request-available
>
> {code:java}
>     Log.Appender.setBufferElementLimit(properties,
>         conf.getRaftLogAppenderQueueByteLimit());
> {code}
> to   
> {code:java}
>     Log.Appender.setBufferElementLimit(properties,
>         conf.getRaftLogAppenderQueueNum());
> {code}
> With the current code, we use element limit 32 * 1024 * 1024.
> And remove ratisRoleCheckerInterval and ratis.snapshot.dir is only used in tests, I see that for actual snapshot download we use the below code path.
> {code:java}
>       checkpointsParentDir =
>               Paths.get(dbLocation.getParent(), "db.checkpoints").toString();
>       File checkpointsDir = new File(checkpointsParentDir);
> {code}
> Confirm this if it is needed or can be removed, And also make use same config in all the places.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org