fix: reboot threads on opcache reset and watcher #2364
Tests.
e94e3bcb
Merge branch 'main' into fix/opcache-safe-reset
48bf41ff
Wait 1s for deadlocks.
973d722a
Merge branch 'main' into fix/opcache-safe-reset
2a9a9a81
Adjusts waitgroup logic.
d1e28d5d
Starts separate opcache_reset request flow once all threads are stopped.
8e87d008
Test with grace period (again)
acf2a1c8
Force all threads to call opcache_reset().
d8c185cc
test
3e7cdd02
Merge remote-tracking branch 'origin/main' into fix/opcache-safe-reset
1d75824b
fix clang format
df82e814
call into cgo for reset directly, no fake dummy
0d87765f
clang fmt
0564eaf1
override opcache reset handler for every php thread in php 8.2
49fc8784
maybe after request startup?
22c6ba60
try not resetting opcache?
66702fe0
don't overrride opcache_reset at all in php 8.2
7cb94e6d
dont even run the test
e9533b8f
don't wait for resetting in php 8.2
7c28f3d4
original opcache reset in 8.2
d88821a8
make it run on 8.2 again
45d49c1a
Update worker.go
d189770c
Merge remote-tracking branch 'origin/main' into fix/opcache-safe-reset
0b2521d9
fix tests timing out
eebec0b8
cap sleep at 100ms
30407d77
Merge remote-tracking branch 'origin/main' into fix/opcache-safe-reset
fc77310d
Merge branch 'main' into fix/opcache-safe-reset
d5ed5dae
Merge branch 'main' into fix/opcache-safe-reset
3e8d548f
Merge branch 'main' into fix/opcache-safe-reset
dc9a2717
restarts completely
97376a7f
removes unnecessary states.
672997bf
removes unused code.
28b52c2d
AlliBalliBaba
changed the title Fix/reboot threads on opcache reset and watcher fix: reboot threads on opcache reset and watcher 52 days ago
fixes internal function.
7e627bd2
updates comments.
7762da52
AlliBalliBaba
marked this pull request as ready for review 51 days ago
requires a safe state on change.
3da984dd
handles incative threads correctly.
56418cd6
Merge branch 'main' into fix/reboot-threads-on-opcache-reset-and-watcher
154f02c0
better race condition guards
5f05e752
Cleans up state transitions.
69b589a5
cleanup
a687780b
removes randomness
612e0fdf
also trigger on any opcache overflow.
9a274673
fixes reason.
b9a46327
various opilot suggestions
54932de9
makes sure test doesn't fail randomly.
1131762f
make sure watcher dirs are fully empty.
db3c1401
Ignore calls on empty main thread.
3e560551
typo
f2eaae1e
uses separate states for single and multi-reboots.
cc9d2e33
fix hot reload test race condition
32d773a0
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub