dosubot[bot] commented on issue #2740: URL: https://github.com/apache/incubator-hugegraph/issues/2740#issuecomment-2690828719
<!-- Answer --> HugeGraph has a mechanism to automatically retry and reconnect to Cassandra when it goes down. The `InitStore` class in the HugeGraph server code specifies retry logic with up to 10 retries and a retry interval of 5000 milliseconds. This is designed to handle exceptions like `OperationTimedOutException` and `NoHostAvailableException`, which occur when Cassandra is temporarily unavailable <sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java)</sup>. If the server is terminating instead of retrying, ensure that your configuration is correctly set up to utilize this retry mechanism. You might also want to check the logs for any specific error messages that could provide more insight into why the server is terminating. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/0428fd5c-4411-491a-ae92-286f907b9174?feedback_type=other)</sup> -- 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]
