Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Dec 19, 2025

It's possible for Windows to be so stubborn that the file can't be opened after open_eventually has given up, which causes a crash and force the queue to be restarted, then trying to open that same file during recovery still errors out.

Using open_eventually there may or may not help.

Also use open_eventually in queue store's get_read_fd as a crash log has shown it can happen there as well.

#15134

Note that this isn't a "real fix" but just more workarounds for some annoying Windows behavior.


This is an automatic backport of pull request #15136 done by Mergify.
This is an automatic backport of pull request #15167 done by Mergify.

It's possible for Windows to be so stubborn that the file can't
be opened after open_eventually has given up, which causes a
crash and force the queue to be restarted, then trying to open
that same file during recovery still errors out.

Using open_eventually there may or may not help.

Also use open_eventually in queue store's get_read_fd as a crash
log has shown it can happen there as well.

(cherry picked from commit ba71e66)
(cherry picked from commit 5f316df)
@michaelklishin michaelklishin added this to the 4.1.8 milestone Dec 19, 2025
@michaelklishin michaelklishin merged commit 5969c25 into v4.1.x Dec 19, 2025
275 of 276 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-15167 branch December 19, 2025 21:15
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