-
Notifications
You must be signed in to change notification settings - Fork 76
Crash-looping bundles sometimes get reloading stuck #294
Copy link
Copy link
Open
Description
Steps to reproduce:
- Have an
app.keterin incoming/ up & running; - Without stopping, deploy a bogus version of app.keter that immediately crashes on start.
- Keter keeps the old version running, as expected,
- The new bundle gets unpacked under temp/ & goes into crash-loop;
- Logs
Process restarting too quickly, waiting before trying again... and restarts in 20ms anyway, spamming monitoring 😂
- Now "fix" the app.keter removing the crash, and deploy the bundle to incoming/ again.
Expected: the second modification of app.keter gets unpacked under temp/ again, and starts from there as usual. Once fully started, replaces the previous process.
Actual: keter just logs Watched file modified and nothing happens.
I managed to stop the alert flood by rm -rf temp/app-1 and touch incoming/app.keter; but that's it. temp/app-0 keeps running, temp/app-2 is unpacked but nothing gets launched from there. Will need to arrange a maintenance window now, to be able to restart keter 🥲
This is on version 2.0.1 (vendored slightly), but I'm pretty sure the bug exists also in upstream latest.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels