SzyWilliam opened a new pull request, #1063: URL: https://github.com/apache/ratis/pull/1063
## What changes were proposed in this pull request? Statemachine will not update LastApplied TermIndex when handling configuration change logs. This will lead problems for linearizable reads here https://github.com/apache/ratis/blob/bc6221b32fff9022cebb02bb243aea9fff35e290/ratis-server/src/main/java/org/apache/ratis/server/impl/ReadRequests.java#L102-L105. Linearizable read will compare the `apply index` (of state machine instead of RaftServer) with `read index`. So we need to update the state machines' `apply index` when applying configuration logs. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2053 -- 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]
