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
Regression in 4.3.3 with require json #2206
Comments
I could reproduce with the master branch too (at master@0b737cc) |
Thanks for the detailed repro. This does sound similar to the issues we had with nio4r version changes and phased restarts, it's probably the same issue, but just surfaced differently. |
There have also been issues with Bundler/RubyGems, especially with stdlib gems that they load themselves, which json is. One solution may be to |
Sorry, I didn't make that clear.
I was hoping some of those experiencing the issue might try it. We would be arriving at the party much later... Some updates require a 'hard reset'. We have to do our best to minimize that number. |
Actually this issue is there when we use prune_bundler Which also means that we can no longer rely on the phased-restart reliably. |
Can anyone try PR #2269 to see if it fixes the issue? |
Describe the bug
Hello, #1801 introduced a regression in 4.3.3 when using puma with prune_bundler and control-app if you issue a phased restart with an app with a different json gem version you end up with the following error :
Puma config:
This is the default rails new template for config/puma.rb I have only added prune_bundler
To Reproduce
https://youtu.be/6VYPTLrFKIg
Edit Gemfile and add:
Send phased restart signal to puma
Expected behavior
Workers should restart successfully no matter the json version used in the app.
The text was updated successfully, but these errors were encountered: