1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00
webvirtcloud/operations
catborise f62a62c027 fix(operations): SIGTERM no longer deadlocks the job worker
The worker's SIGTERM/SIGINT handler called stopping.set(). A signal runs its
handler in the main thread, which spends its time inside stopping.wait() holding
the event's lock; set() then waited for that lock forever and the worker never
stopped (systemd or docker stop had to kill it, leaving jobs to recovery). The
handler now sets the event from a thread of its own. A standalone repro hung 3
times in 300 signals before and none after.
2026-11-26 14:21:36 +03:00
..
api feat(computes): Balance proposes migrations that even out the hosts 2026-11-16 07:37:10 +03:00
management feat(operations): the job worker 2026-10-14 23:27:57 +03:00
migrations fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
static/operations fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
templates/operations feat(instances): free a running VM's unused disk space with the guest agent 2026-11-26 14:21:36 +03:00
templatetags fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
tests fix(ui): sizes in the units the forms ask in, percentages as the language writes them 2026-11-22 21:03:46 +03:00
__init__.py feat(operations): job, claim and worker lease models 2026-10-14 23:27:57 +03:00
alerts.py feat(instances): alert when a fault stops or pauses a VM 2026-11-26 14:21:35 +03:00
apps.py refactor(settings): SQLite's WAL mode is an init_command 2026-11-06 11:01:51 +03:00
claims.py fix(backups): a verification marks each damaged backup of the chain; an error told once 2026-11-19 19:12:02 +03:00
jobs.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
models.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
urls.py feat(operations): jobs page 2026-10-14 23:27:57 +03:00
utils.py feat(migrations): a migration's bandwidth can be capped 2026-11-20 09:44:17 +03:00
views.py feat(ui): what a job, a tag or a backup names links to its page 2026-11-21 23:22:09 +03:00
worker.py fix(operations): SIGTERM no longer deadlocks the job worker 2026-11-26 14:21:36 +03:00