[
https://issues.apache.org/jira/browse/HDDS-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDDS-5391:
-------------------------------------
Description:
Log.Appender.setBufferElementLimit(properties,
conf.getRaftLogAppenderQueueByteLimit());
to
Log.Appender.setBufferElementLimit(properties,
conf.getRaftLogAppenderQueueNum());
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.
checkpointsParentDir =
Paths.get(dbLocation.getParent(), "db.checkpoints").toString();
File checkpointsDir = new File(checkpointsParentDir);
Confirm this if it is needed or can be removed, And also make use same config
in all the places.
was:
Log.Appender.setBufferElementLimit(properties,
conf.getRaftLogAppenderQueueByteLimit());
to
Log.Appender.setBufferElementLimit(properties,
conf.getRaftLogAppenderQueueNum());
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.
checkpointsParentDir =
Paths.get(dbLocation.getParent(), "db.checkpoints").toString();
File checkpointsDir = new File(checkpointsParentDir);
Confirm this, and make use same config in all the places.
> Fix issues in SCMHAConfiguration
> --------------------------------
>
> Key: HDDS-5391
> URL: https://issues.apache.org/jira/browse/HDDS-5391
> Project: Apache Ozone
> Issue Type: Improvement
> Components: SCM HA
> Reporter: Bharat Viswanadham
> Priority: Major
>
> Log.Appender.setBufferElementLimit(properties,
> conf.getRaftLogAppenderQueueByteLimit());
> to
> Log.Appender.setBufferElementLimit(properties,
> conf.getRaftLogAppenderQueueNum());
> 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.
> checkpointsParentDir =
> Paths.get(dbLocation.getParent(), "db.checkpoints").toString();
> File checkpointsDir = new File(checkpointsParentDir);
> 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: [email protected]
For additional commands, e-mail: [email protected]