[
https://issues.apache.org/jira/browse/RATIS-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-2511:
------------------------------
Component/s: Linearizable Read
server
> 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
> Components: Linearizable Read, server
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)