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

Do not fail healthz in single server mode on failed snapshot restore. #4100

Merged
merged 3 commits into from Apr 25, 2023

Conversation

derekcollison
Copy link
Member

In single server mode healthz could mistake a snapshot staging direct…ory during a restore as an account.
If the restore took a long time, stalled, or was aborted, would cause healthz to fail.

Signed-off-by: Derek Collison derek@nats.io

…ory during a restore as an account.

If the restore took a long time, stalled, or was aborted, would cause healthz to fail.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner April 25, 2023 05:19
Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
(There is one gremlin letter in comment)

server/jetstream_test.go Outdated Show resolved Hide resolved
Fix spelling

Co-authored-by: Tomasz Pietrek <tomasz@nats.io>
@derekcollison derekcollison merged commit e25f89d into main Apr 25, 2023
2 checks passed
@derekcollison derekcollison deleted the restore-stall-healthz branch April 25, 2023 05:49
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.

None yet

2 participants