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

NAS-130256 / 24.10 / Avoid deadlocking during DS health initialization #14087

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

anodos325
Copy link
Contributor

There are some edge cases with restarting middleware in which we can deadlock on the etc.generate lock for the kerberos group if we're joined to AD (by calling into directoryservices.health.check repeatedly). This fixes the issue by initializing the health state if required when we first enter the directoryservices.health.check method.

There are some edge cases with restarting middleware in which
we can deadlock on the etc.generate lock for the kerberos group
if we're joined to AD (by calling into directoryservices.health.check
repeatedly). This fixes the issue by initializing the health state
if required when we first enter the directoryservices.health.check
method.
@anodos325 anodos325 added the jira label Jul 25, 2024
@bugclerk
Copy link
Contributor

@bugclerk bugclerk changed the title Avoid deadlocking during DS health initialization NAS-130256 / 24.10 / Avoid deadlocking during DS health initialization Jul 25, 2024
@anodos325 anodos325 merged commit 490b9f5 into master Jul 25, 2024
2 of 3 checks passed
@anodos325 anodos325 deleted the fix-ds-health-issue branch July 25, 2024 20:54
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants