[
https://issues.apache.org/jira/browse/HDDS-1786?focusedWorklogId=283141&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-283141
]
ASF GitHub Bot logged work on HDDS-1786:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jul/19 06:05
Start Date: 26/Jul/19 06:05
Worklog Time Spent: 10m
Work Description: bshashikant commented on issue #1163: HDDS-1786 :
Datanodes takeSnapshot should delete previously created s…
URL: https://github.com/apache/hadoop/pull/1163#issuecomment-515321823
Thanks @avijayanhwx for working on this. In the patch , it seems at one
point of time we will only have one snapshot in raft log directory.
Can we have it as a configiurable property as to how many snapshots we want
to retain at any point of time?
The default value can be 1. This will help in cases where the latest
snapshot file gets corrupted/inaccessible but if we have older snapshots(in
case if we have not purged the raft logs) we can always roll back and start up
from there. This will be more useful in debugging issues as well.
----------------------------------------------------------------
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: 283141)
Time Spent: 1h 50m (was: 1h 40m)
> Datanodes takeSnapshot should delete previously created snapshots
> -----------------------------------------------------------------
>
> Key: HDDS-1786
> URL: https://issues.apache.org/jira/browse/HDDS-1786
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode
> Affects Versions: 0.4.0
> Reporter: Mukul Kumar Singh
> Assignee: Aravindan Vijayan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Right now, after after taking a new snapshot, the previous snapshot file is
> left in the raft log directory. When a new snapshot is taken, the previous
> snapshots should be deleted.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]