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
Faster provenance handling #28536
Faster provenance handling #28536
Conversation
Switching to the use of an std::optional allows the use of std::move in a clear manner.
Denote whether the data product and its provenance will be set by the input source on event read. This means the provenance will use the insertIntoSet method of ProductProvenanceRetriever.
Setup at construction the data structure used to hold all possible BranchIDs that can be called using insertIntoSet. The individual std::vector elements can each be written to by different threads safely. As the structure is re-used, any later changes to the ProductRegistry require updating the structure.
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28536/13009
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages: DataFormats/Provenance @cmsbuild, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: a9e7916 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: ClangBuild
I found compilation warning while trying to compile with clang. Command used:
See details on the summary page. |
Comparison not run due to Build errors/Fireworks only changes/No short matrix requested (RelVals and Igprof tests were also skipped) |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
@smuzaffar here I see another case of tests run against 11_0_X for a 11_1_X PR |
correct, This issue has been identified and fixed. The ib baseline generation job was using your old branch for 11.0.X [a]. This was done to test your changes but it was never reverted. This only effected the generation of baseline job to use an old cms-bot. Note that https://github.com/cms-sw/cms-bot/blob/master/run-ib-comparison-baseline in your branch and cms-bot master is identical, so this did not break any thing till now. Problem is that in your branch has DEV release set to CMSSW_11_0_X while now we move to CMSSW_11_1_X. Anyway, feel free to re-tests if case you want to get clean [a]
|
@smuzaffar thanks, good that it is understood, I'll check and clean my branch |
+1 |
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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
The ProductProvenanceRetriever used to hold the parentage information for the Event data products now uses a faster data structure and avoids resetting itself every Event.
PR validation:
The framework unit tests all pass.