[
https://issues.apache.org/jira/browse/RATIS-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated RATIS-2835:
-------------------------------
Summary: Use ReadIndex as commit information (was: Add commit information
to ReadIndexReplyProto)
> Use ReadIndex as commit information
> -----------------------------------
>
> Key: RATIS-2835
> URL: https://issues.apache.org/jira/browse/RATIS-2835
> Project: Ratis
> Issue Type: Sub-task
> Reporter: Ivan Andika
> Assignee: Ivan Andika
> Priority: Major
>
> Please refer to
> [https://github.com/apache/ratis/pull/1340#pullrequestreview-3758708283]
> {quote}Instead of trigger a heartbeat, how about adding a {{CommitInfoProto}}
> list to {{{}ReadIndexReplyProto{}}}? Then, the follower can update the commit
> indices with the reply. This would reduce the number of AppendEntries which
> might reduce the network pressure.
> {quote}
> However, the main concern is about correctness. We need to understand whether
> adding CommitInfoProto will actually affect correctness. Good news is that
> there is a precedence in [https://github.com/tikv/raft-rs/pull/346] ,
> [https://github.com/etcd-io/etcd/pull/11712] proposed the same improvement,
> but it's not updated.
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)