Skip to content

Commit

Permalink
recover should succeed if all lumis are pub. Fix #5344 (#5345)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Nov 1, 2024
1 parent 2b8f423 commit 01d569e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/python/CRABClient/Commands/recover.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@ def stepReport(self):
if notPublishedLumis:
publishedAllLumis = False
if publishedAllLumis:
self.logger.info("stepReport() - all lumis have been published in the output dataset. crab recover will exit")
msg = "stepReport() - all lumis have been published in the output dataset. crab recover will exit"
self.logger.info(msg)
retval.update({"commandStatus": "NothingToDo", "msg": msg})
return retval
else:
if failingTaskPublish == "T" and self.options.__dict__["strategy"] == "notFinished":
self.logger.warning("%sWarning%s: You are recovering a task with publication enabled with notFinished strategy, this will likely cause to have DUPLICATE LUMIS in the output dataset." % (colors.RED, colors.NORMAL))
Expand Down

0 comments on commit 01d569e

Please sign in to comment.