[
https://issues.apache.org/jira/browse/RATIS-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated RATIS-2379:
-------------------------------
Parent: RATIS-2836
Issue Type: Sub-task (was: Task)
> Support returning applied index for ReadIndex
> ---------------------------------------------
>
> Key: RATIS-2379
> URL: https://issues.apache.org/jira/browse/RATIS-2379
> Project: Ratis
> Issue Type: Sub-task
> Components: Linearizable Read
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
> Fix For: 3.2.2
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> From the discussion in RATIS-2350, we can return applied index for ReadIndex
> instead of commit index to reduce the wait time for a read index (since
> applied index <= commit index). The main argument is that since writes to the
> leader returns after the leader applies the write transactions, we can still
> see the latest write even if the ReadIndex returns the applied index.
> Therefore, the strong consistency requirement is still met. The other pending
> Raft transactions are considered as "concurrent" writes (since the responses
> have not been generated yet) and linearizability does not enforce any strict
> ordering for concurrent writes in the final total order.
> We can make this configurable for now.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)