cavallium opened a new pull request, #1693: URL: https://github.com/apache/ratis/pull/1693
## What changes were proposed in this pull request? `ReadIndexHeartbeats` reuses completed or in-flight confirmations for later reads at the same commit index. This can let a deposed leader serve stale reads before noticing the new term. Require a fresh quorum confirmation for each read, batching waiting reads into rounds. ## What is the link to the Apache JIRA No issue yet; I do not have an ASF JIRA account. ## How was this patch tested? Both reuse cases reproduced on unpatched master. All 20 tests passed: `TestReadIndexHeartbeats`, `TestLinearizableReadWithGrpc`, and `TestReadOnlyRequestWithGrpc` (JDK 17, test data on tmpfs). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
