pallavithegod commented on code in PR #3362: URL: https://github.com/apache/hugegraph/pull/3362#discussion_r4306780335
########## docker/README.md: ########## @@ -233,6 +233,30 @@ Open `http://localhost:8088` and sign in as `admin` with the password from `.env </details> +### Store registration during restart + +Stores first register `Offline` to obtain their persisted identity, restore local +partition engines, and then register `Up`. A restore failure keeps the Store +offline and the heartbeat loop retries it. Graceful shutdown stops heartbeat +producers before reporting `Offline` to PD; if PD is unavailable, normal heartbeat +expiry remains the fallback. A temporary stop does not request permanent retirement. +Offline reports retain the existing keepalive window without extending it, so a +quick restart does not fail the cluster's initial-store-count gate. A Store that +does not return is still removed by normal expiry. Stream reconnects after a +successful restore register `Up` directly without restoring the engines again. +Restoration attempts every local partition before reporting any failures. + +Upgrade PD before Store to enable this registration handshake. Older Stores keep Review Comment: The dedicated shutdown RPC is separate from administrative SetStore: an older PD returns UNIMPLEMENTED, and Store uses normal expiry instead of falling back to SetStore. The compatibility regression and both operator references now cover that behavior. -- 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]
