You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2018/12/04 06:35:00 UTC
[jira] [Comment Edited] (RATIS-326) Introduce ClearStateMachineData
API in StateMachine interface in Ratis
[ https://issues.apache.org/jira/browse/RATIS-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708261#comment-16708261 ]
Jitendra Nath Pandey edited comment on RATIS-326 at 12/4/18 6:34 AM:
---------------------------------------------------------------------
Let's rename {{clearStateMachineData}} method to {{truncate}}, because it is to be called for truncation of log.
was (Author: jnp):
Let's rename {{clearStateMachineData}} method to truncate, because it is to be called for truncation of log.
> Introduce ClearStateMachineData API in StateMachine interface in Ratis
> ----------------------------------------------------------------------
>
> Key: RATIS-326
> URL: https://issues.apache.org/jira/browse/RATIS-326
> Project: Ratis
> Issue Type: Improvement
> Components: server
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Attachments: RATIS-326.000.patch
>
>
> When a follower truncates its log entry in case there is a mismatch between the received log entry and its own stored entry, we should also remove the stateMachine data written as a part of appending the stored log entry on the follower.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)