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 a race condition in volumeattachment controller #2627

Closed
wants to merge 1 commit into from

Conversation

PhanLe1010
Copy link
Contributor

@PhanLe1010 PhanLe1010 commented Feb 22, 2024

The race condition is that we sometimes mark the volumeattachment ticket as satisfied even though the volume has empty spec.NodeID and has started the detaching process.

More context is at longhorn/longhorn#7937 (comment)

longhorn/longhorn#7937

The race condition is that we sometimes mark the volumeattachment ticket
as satisfied even though the volume has empty spec.NodeID and has started
detaching process.

longhorn-7937

Signed-off-by: Phan Le <phan.le@suse.com>
@PhanLe1010
Copy link
Contributor Author

PhanLe1010 commented Feb 22, 2024

Sorry @c3y1huang @mantissahz could either of you help to give this one a test run to see if the issue still exists: phanle1010/longhorn-manager:aebae612

I have to log out a bit

@c3y1huang
Copy link
Contributor

Sorry @c3y1huang @mantissahz could either of you help to give this one a test run to see if the issue still exists: phanle1010/longhorn-manager:aebae612

I have to log out a bit

@PhanLe1010
Copy link
Contributor Author

Closing this PR as we are proposing a new approach (#2635) to replace this approach. Could you take a look @c3y1huang @mantissahz

@PhanLe1010 PhanLe1010 closed this Feb 23, 2024
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