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 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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to