Skip to content

Conversation

@ss77892
Copy link
Contributor

@ss77892 ss77892 commented Feb 3, 2026

What changes were proposed in this pull request?

If the leader has changed after we placed the request in the RetryCache but before we wrote it to the log file, we should remove it from the cache.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2385

How was this patch tested?

Manual tests with Ozone. Under load with a continuously changing leader, NPEs occur during retry operations. No exception occurs; the patch and retry operations complete successfully.

@ss77892 ss77892 requested a review from szetszwo February 4, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant