Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect node start using healthz #1317

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Mar 13, 2025

Use the operations service health check to detect when nodes are started in test-network-nano-bash instead of using arbitrary sleeps. Depending on the host machine and whether CAs are used, this can reduce network start time by up to 15 seconds.

Also ensure the Docker socket location is set correctly for Docker contexts that use a non-default location. This is required to prevent the health service from returning Docker connection errors.

@bestbeforetoday bestbeforetoday force-pushed the nano-bash-healthz branch 3 times, most recently from df269fa to 8e33a9e Compare March 13, 2025 19:45
Use the operations service health check to detect when nodes are started
in test-network-nano-bash instead of using arbitrary sleeps. Depending
on the host machine and whether CAs are used, this can reduce network
start time by up to 15 seconds.

Also ensure the Docker socket location is set correctly for Docker
contexts that use a non-default location. This is required to prevent
the health service from returning Docker connection errors.

Signed-off-by: Mark S. Lewis <[email protected]>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review March 13, 2025 20:01
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner March 13, 2025 20:01
@denyeart denyeart merged commit 9df1596 into hyperledger:main Mar 14, 2025
47 checks passed
@bestbeforetoday bestbeforetoday deleted the nano-bash-healthz branch March 14, 2025 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants