Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with partial block in the parentage fix - take 2 #11779

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Oct 27, 2023

Fixes #11715

Status

ready

Description

Complement to #11757

In the previous pull request, I missed one important use case, which is when a given child file has a matching parent id for some run/lumis but none for other run/lumi pairs. That means the same child file id can be used either with a valid (>0) and invalid (=-1) parent file id, e.g. child_parent_id_list: [[3078470557, -1], [3078470557, 3078342877], ...

With this pull request, we only add the -1 tuple if the child file has NO parent file ids at all, such that the DBS server can correctly count the number of children files with missing parent.

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

Complement to #11757

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 1 changes in unstable tests
  • Python3 Pylint check: succeeded
    • 1 warnings
    • 68 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 4 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/14584/artifact/artifacts/PullRequestReport.html

@amaltaro
Copy link
Contributor Author

And this has now been tested with a couple of production workflows against testbed DBS. It works as expected.

Copy link
Contributor

@todor-ivanov todor-ivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looksgood

@amaltaro
Copy link
Contributor Author

Thanks Todor!

@amaltaro amaltaro merged commit fbaabff into dmwm:master Oct 27, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StepChainParentageFixTask ReqMgr2 thread failing to resolve dataset with incomplete parentage information
3 participants