You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2019/07/09 18:12:00 UTC
[jira] [Commented] (RATIS-617) StateMachine#takeSnapshot should
pass the log index at which the snapshot should be taken
[ https://issues.apache.org/jira/browse/RATIS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881449#comment-16881449 ]
Tsz Wo Nicholas Sze commented on RATIS-617:
-------------------------------------------
If StateMachine#takeSnapshot passes the log index, it seems that the state machine needs to maintain all the indices in order to take the snapshot. I am not sure how to make it works. :)
> StateMachine#takeSnapshot should pass the log index at which the snapshot should be taken
> -----------------------------------------------------------------------------------------
>
> Key: RATIS-617
> URL: https://issues.apache.org/jira/browse/RATIS-617
> Project: Ratis
> Issue Type: Bug
> Components: server
> Affects Versions: 0.3.0
> Reporter: Mukul Kumar Singh
> Priority: Major
>
> StateMachine#takeSnapshot should pass the log index at which the snapshot should be taken,
> this will avoid the need to maintaining lastAppliedCommitIndex in the stateMachine.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)