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

fix: ets config storage table race condition #2270

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

Ziinc
Copy link
Contributor

@Ziinc Ziinc commented Dec 6, 2024

fixes race condition causing ets crud actions to error out. Wraps child termination in a try/do for better resilience, error is logged.
In this case, crashing the supervisor on error when terminating the child does not have a commensurate benefit to be gained that restarting the supervisor state would provide (à la let-it-crash). Crashing supervisor would cause parent (SourceSup) to try to crash and restart, disrupting ingestion further.

@chasers chasers merged commit 3cb1991 into main Dec 6, 2024
5 checks passed
@chasers chasers deleted the fix/ets-table-race-condition branch December 6, 2024 18:14
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