-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Customize concurrency for ESSource DataProxies #36539
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36539/27449
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
-1 Failed Tests: Build ClangBuild 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: BuildI found compilation error when building: /cvmfs/cms-ib.cern.ch/nweek-02711/slc7_amd64_gcc10/external/gcc/10.3.0-84898dea653199466402e67d73657f10/include/c++/10.3.0/bits/shared_ptr.h:408:59: required from 'std::shared_ptr<_Tp>::shared_ptr(std::_Sp_alloc_shared_tag<_Tp>, _Args&& ...) [with _Alloc = std::allocator > >; _Args = {std::shared_ptr >&, edm::SerialTaskQueue*&, std::mutex*&}; _Tp = DataProxy >]' /cvmfs/cms-ib.cern.ch/nweek-02711/slc7_amd64_gcc10/external/gcc/10.3.0-84898dea653199466402e67d73657f10/include/c++/10.3.0/bits/shared_ptr.h:859:14: required from 'std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = DataProxy >; _Alloc = std::allocator > >; _Args = {std::shared_ptr >&, edm::SerialTaskQueue*&, std::mutex*&}]' /cvmfs/cms-ib.cern.ch/nweek-02711/slc7_amd64_gcc10/external/gcc/10.3.0-84898dea653199466402e67d73657f10/include/c++/10.3.0/bits/shared_ptr.h:875:39: required from 'std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = DataProxy >; _Args = {std::shared_ptr >&, edm::SerialTaskQueue*&, std::mutex*&}]' /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/CondCore/ESSources/interface/DataProxy.h:152:55: required from 'void DataProxyWrapper::lateInit(cond::persistency::Session&, const string&, const boost::posix_time::ptime&, const string&, const string&, edm::SerialTaskQueue*, std::mutex*) [with RecordT = CSCPedestalsRcd; DataT = CSCPedestals; Initializer = cond::DefaultInitializer; std::string = std::__cxx11::basic_string]' /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/CondCore/CSCPlugins/src/plugin.cc:83:1: required from here /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/FWCore/Framework/interface/ESSourceDataProxyTemplate.h:39:47: error: type 'edm::eventsetup::ESSourceDataProxyBase' is not a direct base of 'edm::eventsetup::ESSourceDataProxyTemplate' 39 | : ESSourceDataProxyBase(iQueue, iMutex) {} | ^ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/FWCore/Framework/interface/ESSourceDataProxyTemplate.h:39:47: error: no matching function for call to 'edm::eventsetup::ESSourceDataProxyNonConcurrentBase::ESSourceDataProxyNonConcurrentBase()' In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/FWCore/Framework/interface/ESSourceDataProxyTemplate.h:30, from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2021-12-17-1100/src/CondCore/ESSources/interface/DataProxy.h:11, Clang BuildI found compilation warning while trying to compile with clang. Command used:
See details on the summary page. |
d6e96d7
to
e015d0b
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36539/27455
|
Pull request #36539 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
please test |
Pull request #36539 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
Refactored ESSource specific DataProxies to allow customizing how concurrency should be handled. Provided implementations to support either concurrent or non-concurrent running of DataProxies for the same ESSource.
ab6d25d
to
01aa32e
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36539/27498
|
Pull request #36539 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @santocch, @makortel can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e2acfe/21411/summary.html Comparison SummarySummary:
|
+1 |
+1 |
merge |
+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 be automatically merged. |
PR description:
Refactored ESSource specific DataProxies to allow customizing how concurrency should be handled. Provided implementations to support either concurrent or non-concurrent running of DataProxies for the same ESSource.
This was ability will be used by PoolDBESSource.
PR validation:
Code compiles and all framework unit tests (including a new one) all succeed.
closes #36487