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

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

    [ https://issues.apache.org/jira/browse/HDDS-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390797#comment-17390797 ] 

Jasen Minton edited comment on HDDS-5391 at 8/23/21, 10:44 PM:
---------------------------------------------------------------

The pr for this somehow got disconnected from the jira:
 [https://github.com/apache/ozone/pull/2567|https://github.com/apache/ozone/pull/2457]


was (Author: jwminton):
The pr for this somehow got disconnected from the jira:
https://github.com/apache/ozone/pull/2457

> 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