jojochuang opened a new pull request, #8600: URL: https://github.com/apache/ozone/pull/8600
## What changes were proposed in this pull request? HDDS-13112. [Docs] Add a section "Automatic Snapshot Installation for Stale Ozone Managers" to OM HA doc Please describe your PR in detail: * Generated-by: ChatGPT, prompt: ``` https://ozone.apache.org/docs/edge/feature/om-ha.html It is written in the user doc that OM bootstrap happens when adding a new OM. Ratis would trigger notifyInstallSnapshotFromLeader() if a follower OM falls behind the leader OM. We should update the doc to include this condition too. https://github.com/apache/ratis/blob/c1da37cb455bbf94da267b3f2b9bf3884017e1ca/ratis-server-api/src/main/java/org/apache/ratis/server/leader/LogAppender.java#L109 /** * Should this {@link LogAppender} send a snapshot to the follower? * * @return the snapshot if it should install a snapshot; otherwise, return null. */ default SnapshotInfo shouldInstallSnapshot() { // we should install snapshot if the follower needs to catch up and: // 1. there is no local log entry but there is snapshot // 2. or the follower's next index is smaller than the log start index // 3. or the follower is bootstrapping and has not installed any snapshot yet ``` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13112 ## How was this patch tested? User doc. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
