SebastianGruza commented on PR #3210: URL: https://github.com/apache/hugegraph/pull/3210#issuecomment-5710296827
Round 1 in 3d64daa: a one-shot gRPC probe (a channel per PD peer, no watchers, closed after the wait) replaces the temporary `PDClient`, every call carries a deadline bounded by the remaining budget, a cluster that already has partitions is not waited for at all, and a cluster without partitions waits for PD's own `Cluster_OK` instead of a store count derived on the server. Four unit tests (initialised cluster, cold start, black-holed PD within budget, timeout keeping PD's last message), 4/4 on JDK 11. Three lab runs in the table in the description: cold start with 70 s of waiting and exit 0, restart with a killed store in 8 s and exit 0, unreachable PD exiting 1 after the 20 s budget. Description updated. -- 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]
