From 8fcd1a049c426fc089e37bf98de46dd34f392fe8 Mon Sep 17 00:00:00 2001 From: hassan11196 Date: Thu, 15 Jan 2026 12:12:14 +0100 Subject: [PATCH] Bypass NoPendingSlot limit for Merge job type to prevent blocking by pending slot limits --- src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py b/src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py index e64b06544f..c0fedac4ff 100644 --- a/src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py +++ b/src/python/WMComponent/JobSubmitter/JobSubmitterPoller.py @@ -639,6 +639,11 @@ def _getJobSubmitCondition(self, jobPrio, siteName, jobType): totalJobThreshold = totalPendingThreshold + totalRunningSlots totalTaskTheshold = taskPendingThreshold + taskRunningSlots + # Bypass NoPendingSlot limit for job type (Merge) + # These jobs should not be blocked by pending slot limits + if jobType == 'Merge': + totalPendingThreshold = float('inf') + jobStats = [{"Condition": "NoPendingSlot", "Current": totalPendingJobs, "Threshold": totalPendingThreshold},