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/05/22 07:42:00 UTC
[jira] [Updated] (RATIS-563) Purge logs after snapshot only after
all the nodes have catught up with the index
[ https://issues.apache.org/jira/browse/RATIS-563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze updated RATIS-563:
--------------------------------------
Attachment: r563_20190522.patch
> Purge logs after snapshot only after all the nodes have catught up with the index
> ---------------------------------------------------------------------------------
>
> Key: RATIS-563
> URL: https://issues.apache.org/jira/browse/RATIS-563
> Project: Ratis
> Issue Type: Bug
> Components: snapshot
> Affects Versions: 0.3.0
> Reporter: Mukul Kumar Singh
> Priority: Major
> Attachments: r563_20190522.patch
>
>
> Leader will purge the snapshot after applying a transaction. A transaction is applied after a majority has been reached. This means that a slow follower will request for a transaction which has already been purged and for this transaction to catchup the leader has to transfer the snapshot. This can be detrimental for the performance while replicating.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)