Shilun Fan created RATIS-2727:
---------------------------------

             Summary: LogAppender purge tests may fail due to concurrent 
nextIndex updates
                 Key: RATIS-2727
                 URL: https://issues.apache.org/jira/browse/RATIS-2727
             Project: Ratis
          Issue Type: Bug
            Reporter: Shilun Fan
            Assignee: Shilun Fan


{{The LogAppender purge tests modify the FollowerInfo of a running appender.}}

{{}}

{{ }}

{{Background replication can update nextIndex before the test checks that it 
remains unchanged, causing a spurious assertion failure:}}

{{}}
{code:java}
Follower nextIndex should remain unchanged
==> expected: <58> but was: <61> {code}
{{}}

{{}}

{{This can happen even when the leader does not change.}}

{{}}

{{Affected tests: }}
 * {{testNewAppendEntriesRequestAfterPurgeFollowerAtStartIndex}}
 * {{ 
testNewAppendEntriesRequestAfterPurgeFollowerBehindStartIndex}}{{{}{}}}{{{}{}}}

{{}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to