You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2026/04/30 05:46:00 UTC

[jira] [Updated] (RATIS-2511) Follower should throw ReadException if it is installing snapshot

     [ https://issues.apache.org/jira/browse/RATIS-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Andika updated RATIS-2511:
-------------------------------
    Description: 
When Ratis follower is installing snapshot, its appliedIndex will not advance until the snapshot is installed. This can cause all linearizable follower read on this node to timeout due to the client timeout (default is 3s). 

Instead of waiting until the client timeout, Ratis follower can check whether it is currently installing snapshot and trigger failover immediately if it does.

Ideally, we might also need to fail any pending read requests.

> Follower should throw ReadException if it is installing snapshot
> ----------------------------------------------------------------
>
>                 Key: RATIS-2511
>                 URL: https://issues.apache.org/jira/browse/RATIS-2511
>             Project: Ratis
>          Issue Type: Improvement
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>
> When Ratis follower is installing snapshot, its appliedIndex will not advance until the snapshot is installed. This can cause all linearizable follower read on this node to timeout due to the client timeout (default is 3s). 
> Instead of waiting until the client timeout, Ratis follower can check whether it is currently installing snapshot and trigger failover immediately if it does.
> Ideally, we might also need to fail any pending read requests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)