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

Fixed bug between edm::Refs and EDAlias #901

Merged
merged 6 commits into from Sep 24, 2013

Conversation

Dr15Jones
Copy link
Contributor

Nulling out the BranchID for a kept EDAlias some times caused edm::Ref’s created in subsequent jobs which refer to the aliased branch to fail. The failure depends on the exact ordering (branch name and/or branch ID) between the original branch and the alias.

This request also has related maintenance changes and additional unit tests.

By decoupling OtherThingAlgorithm from edm::Event allows us to test different ways of getting the data from the Event.
Also got rid of the header for OtherThingProducer
… process.

A bug was discovered in the interaction between edm::Ref and EDAlias. The bug depends on the exact order between the original and alias branch names and/or branchIDs. The additional tests cause the bug to manifest. The change to the original test to create Refs in step2 is there to catch any possible regressions.
Nulling out the BranchID for a kept EDAlias some times caused edm::Ref’s created in subsequent jobs which refer to the aliased branch to fail. The failure depends on the exact ordering (branch name and/or branch ID) between the original branch and the alias.
@cmsbuild
Copy link
Contributor

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

Fixed bug between edm::Refs and EDAlias

It involves the following packages:

DataFormats/Provenance
FWCore/Integration
IOPool/Input
FWCore/Framework

@smuzaffar, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks.
@wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@ktf you are the release manager for this.

@Dr15Jones
Copy link
Contributor Author

+1
All framework unit tests passed.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @ktf can you please take care of it?

ktf added a commit that referenced this pull request Sep 24, 2013
Framework buggix -- Fixed bug between edm::Refs and EDAlias
@ktf ktf merged commit dff0b19 into cms-sw:CMSSW_7_0_X Sep 24, 2013
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

4 participants