[
https://issues.apache.org/jira/browse/HDDS-1339?focusedWorklogId=222597&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222597
]
ASF GitHub Bot logged work on HDDS-1339:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Apr/19 20:17
Start Date: 03/Apr/19 20:17
Worklog Time Spent: 10m
Work Description: hanishakoneru commented on pull request #651:
HDDS-1339. Implement ratis snapshots on OM
URL: https://github.com/apache/hadoop/pull/651#discussion_r271914300
##########
File path: hadoop-hdds/common/src/main/resources/ozone-default.xml
##########
@@ -1617,7 +1617,7 @@
<property>
<name>ozone.om.ratis.snapshot.auto.trigger.threshold</name>
- <value>400000L</value>
+ <value>400000</value>
Review comment:
I think 400k should not be too small a number. In HDFS, the default number
of transactions after which a checkpoint is saved is 1M. Also, the ratis log
index is not the same as the actual transaction count. There are lot of
internal ratis log entries also.
But we can re-tweak the default after some testing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 222597)
Time Spent: 3h 50m (was: 3h 40m)
> Implement Ratis Snapshots on OM
> -------------------------------
>
> Key: HDDS-1339
> URL: https://issues.apache.org/jira/browse/HDDS-1339
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> For bootstrapping and restarting OMs, we need to implement snapshots in OM.
> The OM state maintained by RocksDB will be checkpoint-ed on demand. Ratis
> snapshots will only preserve the last applied log index by the State Machine
> on disk. This index will be stored in file in the OM metadata dir.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]