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 Sze (Jira)" <ji...@apache.org> on 2023/03/30 08:11:00 UTC
[jira] [Resolved] (RATIS-1827) Update installed snapshot index only when InstallSnapshot is done
[ https://issues.apache.org/jira/browse/RATIS-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1827.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged. Thanks, [~ckj]!
> Update installed snapshot index only when InstallSnapshot is done
> -----------------------------------------------------------------
>
> Key: RATIS-1827
> URL: https://issues.apache.org/jira/browse/RATIS-1827
> Project: Ratis
> Issue Type: Bug
> Reporter: Kaijie Chen
> Assignee: Kaijie Chen
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: 868_review.patch
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Installed snapshot index was updated when installSnapshot is not done,
> causing TestLeaderInstallSnapshot to be flaky.
> This Jira combines {{updateInstalledSnapshotIndex}} with {{{}reloadStateMachine{}}},
> which will only be called when installSnapshot is done.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)