Skip to content

Conversation

cjen1-msft
Copy link
Contributor

We have a race condition, where a delayed fsync running in a worker thread tries to access resources which have already been freed by the main thread on shutdown.

Currently this PR is just trying to reproduce it in our test infrastructure.

@cjen1-msft cjen1-msft force-pushed the fix-fsync-race branch 2 times, most recently from 995c68c to 83c92d9 Compare June 23, 2025 14:42
@cjen1-msft cjen1-msft marked this pull request as ready for review August 13, 2025 10:27
@cjen1-msft cjen1-msft requested a review from a team as a code owner August 13, 2025 10:27
@achamayou achamayou changed the title Fix fsync race on shutdown Fix uv_loop_close sequence to wait for in-flight synchronous calls that hold uv resources Aug 14, 2025
@achamayou achamayou enabled auto-merge August 14, 2025 08:11
@achamayou achamayou added this pull request to the merge queue Aug 14, 2025
Merged via the queue into microsoft:main with commit eaa20d7 Aug 14, 2025
17 checks passed
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.

3 participants