mirror of
git://git.proxmox.com/git/pve-guest-common.git
synced 2024-12-28 07:21:36 +03:00
ce22af0895
In certain high-load scenarios ANY ZFS operation can block, including registering an (async) destroy. Since ZFS operations are implemented via ioctl's, killing the user space process does not affect the waiting kernel thread processing the ioctl. Once "zfs destroy" has been called, killing it does not say anything about whether the destroy operation will be aborted or not. Since running into a timeout effectively means killing it, we don't know whether the snapshot exists afterwards or not. We also don't know how long it takes for ZFS to catch up on pending ioctls. Given the above problem, we must to not die on errors when deleting a no longer needed snapshot fails (under a timeout) after an otherwise successful replication. Since we retry on the next run anyway, this is not problematic. The snapshot deletion error will be logged in the replication log and the syslog/journal. |
||
---|---|---|
debian | ||
PVE | ||
Makefile |