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
Use shared_ptr for MutableMonitorElementData #35756
Use shared_ptr for MutableMonitorElementData #35756
Conversation
Make sure DQMStore::localMEs_ never has stale pointer to the data.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35756/26100
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
When compared to #35751, this change should be faster since it doesn't have to check every moduleID in the DQMStore::localMEs_ for an equivalent MonitorElement to the one being deleted. On the down side, this change can hold onto memory for a bit longer in the case where we have concurrent lumis and we've delete the item from DQMStore::globalMEs_ but have not yet swapped what is in DQMStore::localMEs_. I personally do not that that will be a problem at all. |
please test |
type bug-fix |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6c697b/19782/summary.html The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummaryThe workflows 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons Summary:
|
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6c697b/19790/summary.html Comparison SummarySummary:
|
+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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
PR description:
Make sure DQMStore::localMEs_ never has stale pointer to the data. This avoids a crash when running with concurrent LuminosityBlocks with a DQMOneEDAnalyzer which has per lumi histograms.
This is an alternative to #35751.
PR validation:
Code compiles. A simple test which had failed now succeeds.
Resolves #35726