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

[Merged by Bors] - Fix rare file close deadlock. #1009

Closed
wants to merge 9 commits into from

Conversation

t4lz
Copy link
Member

@t4lz t4lz commented Feb 3, 2023

The deadlock has only been observed in the E2E fileops test with Go-1.20 on GitHub Actions.

This PR hopefully eliminate this deadlock, but also contains some fixes of problematic lockings that did not cause this deadlock.

Part of #994.

Copy link
Member Author

@t4lz t4lz left a comment

Choose a reason for hiding this comment

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

Some explanations of the changes.

mirrord/layer/src/file/ops.rs Show resolved Hide resolved
mirrord/layer/src/file/ops.rs Outdated Show resolved Hide resolved
mirrord/layer/src/file/ops.rs Show resolved Hide resolved
mirrord/layer/src/lib.rs Show resolved Hide resolved
mirrord/layer/src/lib.rs Outdated Show resolved Hide resolved
mirrord/layer/src/file/ops.rs Show resolved Hide resolved
@t4lz t4lz marked this pull request as ready for review February 3, 2023 16:19
@t4lz
Copy link
Member Author

t4lz commented Feb 6, 2023

bors r+

bors bot pushed a commit that referenced this pull request Feb 6, 2023
The deadlock has only been observed in the E2E fileops test with Go-1.20 on GitHub Actions.

This PR hopefully eliminate this deadlock, but also contains some fixes of problematic lockings that did not cause this deadlock.

Part of #994.
@bors
Copy link

bors bot commented Feb 6, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Fix rare file close deadlock. [Merged by Bors] - Fix rare file close deadlock. Feb 6, 2023
@bors bors bot closed this Feb 6, 2023
@t4lz t4lz mentioned this pull request Feb 8, 2023
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