Skip to content

fix: clear in_save_handler state that blocks the subsequent close handler#2443

Merged
henderkes merged 4 commits into
mainfrom
fix/sessionlock
May 27, 2026
Merged

fix: clear in_save_handler state that blocks the subsequent close handler#2443
henderkes merged 4 commits into
mainfrom
fix/sessionlock

Conversation

@henderkes
Copy link
Copy Markdown
Contributor

fixes #2368

@henderkes
Copy link
Copy Markdown
Contributor Author

@alexandre-daubois I'm not sure why the data race is surfacing in this PR specifically. I know you recently worked on the metrics so you're probably best prepared to figure it out.

@withinboredom
Copy link
Copy Markdown
Member

It looks like the race is due to overlapping tests? Read in shutdown AND in startup, if I'm reading the traces right.

Copy link
Copy Markdown
Contributor

@AlliBalliBaba AlliBalliBaba left a comment

Choose a reason for hiding this comment

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

Haven't looked into it yet, but might also be possible to fix this upstream in the long run

@henderkes henderkes merged commit 61077e1 into main May 27, 2026
100 of 103 checks passed
@henderkes henderkes deleted the fix/sessionlock branch May 27, 2026 00:31
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.

Session file lock permanently after PHP thread killed by max_execution_time (non-worker mode)

4 participants