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

PoolOutputModule reads branch provenance only at input file open #17493

Merged

Conversation

Dr15Jones
Copy link
Contributor

The PoolOutputModule was previously reading the per data product
provenance from the input file each event. This required the
per event provenance to be delay read from the file even in the
case where the per event provenance was not going to be stored
(such as when writing miniAOD). In a multi-threaded environment
this caused lock contention.
The code now reads the summary of the per data product provenance
when the input file is opened and only requests it per event
if it is going to be stored per event.

Also found a bug where the meta data branch ProductDependencies
was always empty because the stored object was cleared too early.

The PoolOutputModule was previously reading the per data product
provenance from the input file each event. This required the
per event provenance to be delay read from the file even in the
case where the per event provenance was not going to be stored
(such as when writing miniAOD). In a multi-threaded environment
this caused lock contention.
The code now reads the summary of the per data product provenance
when the input file is opened and only requests it per event
if it is going to be stored per event.

Also found a bug where the meta data branch ProductDependencies
was always empty because the stored object was cleared too early.
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_9_0_X.

It involves the following packages:

IOPool/Output

@cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks.
@wddgit, @wmtan this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 11, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17748/console Started: 2017/02/11 16:21

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@Dr15Jones
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 1718c28 into cms-sw:CMSSW_9_0_X Feb 12, 2017
@Dr15Jones Dr15Jones deleted the readBranchChildrenSummaryOnce branch February 13, 2017 14:41
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.

None yet

3 participants