From 8e4bee65a3ad88063df5c777c89770272d30fca8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 30 Nov 2019 17:06:00 +0100 Subject: [PATCH] api/bulk migrate: add comment regarding PID re-used this needs to be fixed, maybe with pidfd's... Signed-off-by: Thomas Lamprecht --- PVE/API2/Nodes.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index 36699039..5c84ef88 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -2054,6 +2054,7 @@ __PACKAGE__->register_method ({ } while (scalar(keys %$workers)) { foreach my $p (keys %$workers) { + # FIXME: what about PID re-use ?!?! if (!PVE::ProcFSTools::check_process_running($p)) { delete $workers->{$p}; }