hanishakoneru commented on issue #948: HDDS-1649. On installSnapshot 
notification from OM leader, download checkpoint and reload OM state
URL: https://github.com/apache/hadoop/pull/948#issuecomment-512981397
 
 
   > **Question:**
   > In ShouldInstallSnapshot, it calls getLatestSnapshot() from 
stateMachineStorage, as we have our own snapshot implementation in 
stateMachine, do we need to override that method to provide correct 
snapshotInfo? Or could you provide some info how this works?
   
   We do not want the snapshots to be handled via Ratis. When a follower 
receives installSnaphsot notification, it sends the new loaded DB's snapshot 
index back to the leader. The leader updates the followers snaphsot index 
through this.
   
   But when Ratis server is starting up, it should be able to determine the 
latest snapshot index. Otherwise, all the logs will be replayed from the start. 
I will create a new Jira to address this. Thanks Bharat.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to