You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An improvement on the previous behaviour was introduced in: d9da533
The problem is that right now, the module tuple for the supervisor is []. When the OTP release handler will try to upgrade code, it will navigate through the OTP supervision tree and ask all of the supervisors to tell them what kind of code their children are running. By leaving it to an empty list, the module will be ignored and not upgraded.
To fix this, the module name must be added to the empty list ([cowboy_acceptor]). However, the acceptors are accepting (a blocking operation) and will be killed after a while if they do not reply to release_handler's requests.
The behaviour of the acceptors should be changed to accept only for a few (milli)seconds at a time, look for new messages (including upgrade ones, coming from the sys module), react to them, and then start accepting over again.
The text was updated successfully, but these errors were encountered:
An improvement on the previous behaviour was introduced in: d9da533
The problem is that right now, the module tuple for the supervisor is []. When the OTP release handler will try to upgrade code, it will navigate through the OTP supervision tree and ask all of the supervisors to tell them what kind of code their children are running. By leaving it to an empty list, the module will be ignored and not upgraded.
To fix this, the module name must be added to the empty list ([cowboy_acceptor]). However, the acceptors are accepting (a blocking operation) and will be killed after a while if they do not reply to release_handler's requests.
The behaviour of the acceptors should be changed to accept only for a few (milli)seconds at a time, look for new messages (including upgrade ones, coming from the
sys
module), react to them, and then start accepting over again.The text was updated successfully, but these errors were encountered: