[
https://issues.apache.org/jira/browse/RATIS-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated RATIS-1590:
------------------------------
Description:
When {{RaftClientReply#isSuccess()}} is true in a watch reply,
{{RaftClientReply#getLogIndex()}} should return the log index satisfying the
request.
Notes:
# Currently, {{RaftClientReply#getLogIndex()}} is not used. It is set to 0 by
default.
# The log index information can be obtained from
{{RaftClientReply.getCommitInfos()}} but it is inconvenient.
was:
When {{RaftClientReply#isSuccess()}} is true in a watch reply,
{{RaftClientReply#getLogIndex()}} should return the log index satisfying the
request.
Notes:
# Currently, {{RaftClientReply#getLogIndex()}} is not used.
#
> Include the new log index in Watch reply
> ----------------------------------------
>
> Key: RATIS-1590
> URL: https://issues.apache.org/jira/browse/RATIS-1590
> Project: Ratis
> Issue Type: Improvement
> Components: server
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When {{RaftClientReply#isSuccess()}} is true in a watch reply,
> {{RaftClientReply#getLogIndex()}} should return the log index satisfying the
> request.
> Notes:
> # Currently, {{RaftClientReply#getLogIndex()}} is not used. It is set to 0
> by default.
> # The log index information can be obtained from
> {{RaftClientReply.getCommitInfos()}} but it is inconvenient.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)