Currently we skip all disabled jobs, also the ones up for deletion, which does not make sense. This came up in support.
Signed-off-by: Hannes Laimer <h.lai...@proxmox.com> --- src/PVE/ReplicationState.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/ReplicationState.pm b/src/PVE/ReplicationState.pm index 16b3d90..e91b6fc 100644 --- a/src/PVE/ReplicationState.pm +++ b/src/PVE/ReplicationState.pm @@ -272,7 +272,7 @@ sub job_status { # never sync to local node next if !$jobcfg->{remove_job} && $target eq $local_node; - next if !$get_disabled && $jobcfg->{disable}; + next if !$jobcfg->{remove_job} && !$get_disabled && $jobcfg->{disable}; my $state = extract_job_state($stateobj, $jobcfg); $jobcfg->{state} = $state; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel