[
https://issues.apache.org/jira/browse/RATIS-2278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xinhao GU updated RATIS-2278:
-----------------------------
Summary: Follower Fails to Append Entries Due to Index Validation Race
Condition in NavigableIndices (was: Follower Fails to Append Entries Due to
Index Validation Race Condition in )
> Follower Fails to Append Entries Due to Index Validation Race Condition in
> NavigableIndices
> -------------------------------------------------------------------------------------------
>
> Key: RATIS-2278
> URL: https://issues.apache.org/jira/browse/RATIS-2278
> Project: Ratis
> Issue Type: Bug
> Components: gRPC, LogService, server
> Reporter: Xinhao GU
> Assignee: Xinhao GU
> Priority: Major
>
> h1. *Problem Description*
> When a follower receives overlapping {{appendEntries}} requests from the
> leader, it may throw an {{IllegalStateException}} during log index
> validation. Specifically, the {{NavigableIndices}} class fails to handle
> concurrent log appends properly, causing the follower to incorrectly reject
> valid entries with an "index mismatch" error (e.g., expecting index {{16186}}
> but receiving {{{}16093{}}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)