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

[Recovery] Make pipeline status an atomic value #1778

Closed
lovromazgon opened this issue Aug 14, 2024 · 0 comments · Fixed by #1794
Closed

[Recovery] Make pipeline status an atomic value #1778

lovromazgon opened this issue Aug 14, 2024 · 0 comments · Fixed by #1794
Assignees

Comments

@lovromazgon
Copy link
Member

Currently the pipeline.Instance field Status can change at any point in time when the pipeline is running, therefore it's not safe to access this value. We should change the type into atomic.Pointer[Status] so the value can be accessed safely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants