mirror of
git://git.proxmox.com/git/pve-zsync.git
synced 2024-12-21 17:33:49 +03:00
5bf0bc3569
by remembering the process via PID+start time+boot ID and checking for that information in the new instance. If the old instance can't be found, the new one will continue and register itself in the state. After updating the pve-zsync package, if there is a waiting instance running the old version, one more might be created, because there is no instance_id yet. But the new instance will set the instance_id, which any later instance will see. More importantly, if the state is wrongly 'waiting' or 'syncing', i.e. because an instance was terminated before finishing, we don't abort anymore and recover from the wrong state, thus fixing the bug. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com> |
||
---|---|---|
debian | ||
Makefile | ||
pve-zsync |