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

Issue message if DB IOV updated during job #46393

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

Dr15Jones
Copy link
Contributor

PR description:

This adds a LogSystem output each time the CondDBESSource updates an IOV during the job. The output is avoided the first IOV check as the number of lines added to the log file is quite large.

This is meant to help diagnose a problem being seen in the HLT.

PR validation:

Code compiles. Forcing the report to always be on gave the expected output.

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 15, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones for master.

It involves the following packages:

  • CondCore/CondDB (db)

@atpathak, @consuegs, @francescobrivio, @perrotta can you please review it and eventually sign? Thanks.
@JanChyczynski, @PonIlya, @mmusich, @rsreds, @yuanchao this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1e78aa/42207/summary.html
COMMIT: f1d5a12
CMSSW: CMSSW_14_2_X_2024-10-15-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46393/42207/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #46393 was updated. @atpathak, @cmsbuild, @consuegs, @francescobrivio, @perrotta can you please check and sign again.

@Dr15Jones
Copy link
Contributor Author

please test

@Dr15Jones
Copy link
Contributor Author

So from the previous PR tests, it does appear that fetching during the job can happen for offline jobs processing data. My hypothesis is some conditions data have such large IOV lists that they are not fetched all at once, instead they are fetched in pages. At construction time CondDBESSource just fetches the first page of IOVs for all conditions objects. Then at begin run, if the IOVs page containing that particular run was not pre-fetched, it goes and fetches it. This appears to only be true for a couple of conditions objects, not all of them.

@mmusich
Copy link
Contributor

mmusich commented Oct 15, 2024

My hypothesis is some conditions data have such large IOV lists that they are not fetched all at once, instead they are fetched in pages. At construction time CondDBESSource just fetches the first page of IOVs for all conditions objects. Then at begin run, if the IOVs page containing that particular run was not pre-fetched, it goes and fetches it. This appears to only be true for a couple of conditions objects, not all of them.

that was the "concern" I was referring to earlier today. Few time-stamp based conditions can have tens or hundreds of thousands of IoVs and cannot fit in a single read.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1e78aa/42220/summary.html
COMMIT: d798eec
CMSSW: CMSSW_14_2_X_2024-10-15-1400/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46393/42220/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@perrotta
Copy link
Contributor

Just for my understanding: does this update need to be merged, or it is just for your private tests? I.e. do you need the db signature, here and in the backport PRs?

@mmusich
Copy link
Contributor

mmusich commented Oct 16, 2024

does this update need to be merged, or it is just for your private tests? I.e. do you need the db signature, here and in the backport PRs?

if we want it to be useful for debugging #45555 we'll need a release to be deployed at HLT with this PR in it, so I think unless we want to make branches diverge, yes db signature is needed here and in backports.

@perrotta
Copy link
Contributor

+db

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @rappoccio, @mandrenguyen, @antoniovilela, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 9479303 into cms-sw:master Oct 16, 2024
11 checks passed
@Dr15Jones Dr15Jones deleted the printIOVChange branch November 11, 2024 20:28
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.

5 participants