Skip to content

Commit

Permalink
do not lock data when using partialDataset (#7744)
Browse files Browse the repository at this point in the history
  • Loading branch information
belforte authored Jul 12, 2023
1 parent 72f2583 commit dd72fb6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/python/TaskWorker/Actions/DBSDataDiscovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,12 @@ def executeInternal(self, *args, **kwargs):

self.logger.debug("Got %s files", len(result.result.getFiles()))

# lock input data on disk before final submission (only for CMS datasets !)
# lock input data on disk before final submission
# (submission can still fail in Splitting step, but it happens rarely and usually users fix
# a configuration mistake submit, i.e. they really want these data, so let's lock anyhow
# a configuration mistake and retry, i.e. they really want these data, so let's lock anyhow

if not isUserDataset:
# only lock data in CMS scope and only if user did no say "I'll take whatever is on disk"
if not isUserDataset and not usePartialDataset:
try:
if not inputBlocks:
self.lockInputData(dataToLock=inputDataset)
Expand Down

0 comments on commit dd72fb6

Please sign in to comment.