From 517ac04115c527f8ba6b29f694596635c8ba67c7 Mon Sep 17 00:00:00 2001 From: Alan Malta Rodrigues Date: Fri, 15 Mar 2024 18:35:00 +0100 Subject: [PATCH] Use POST method for getting pileup documents in MSTransferor Log number of pileup documents and pileup query executed --- src/python/WMCore/MicroService/MSTransferor/MSTransferor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/python/WMCore/MicroService/MSTransferor/MSTransferor.py b/src/python/WMCore/MicroService/MSTransferor/MSTransferor.py index a1910d9b83..6be0fda8ef 100644 --- a/src/python/WMCore/MicroService/MSTransferor/MSTransferor.py +++ b/src/python/WMCore/MicroService/MSTransferor/MSTransferor.py @@ -128,7 +128,10 @@ def updateCaches(self): self.logger.info("Updating all local caches...") self.dsetCounter = 0 self.blockCounter = 0 - self.pileupDocs = getPileupDocs(self.msConfig['mspileupUrl'], self.pileupQuery) + self.pileupDocs = getPileupDocs(self.msConfig['mspileupUrl'], + self.pileupQuery, method='POST') + self.logger.info("Found %s pileup documents matching the query: %s", + len(self.pileupDocs), self.pileupQuery) campaigns = self.reqmgrAux.getCampaignConfig("ALL_DOCS") self.psn2pnnMap = self.cric.PSNtoPNNMap() self.pnn2psnMap = self.cric.PNNtoPSNMap()