-
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
Changing LHCInfo O2O Implementation to access source data from OMS #36956
Conversation
…rom direct Oracle access to OMS Service
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36956/28309
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
can we do anything to re-trigger the code-checks? the concerned commit did not make it in time... |
code-checks |
CondCore/CondDB/src/WebUtils.cc
Outdated
|
||
namespace cond { | ||
|
||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this supposed to be a comment after the // ?
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36956/28337
|
A new Pull Request was created by @ggovi for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @ggovi, @francescobrivio, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
//coral::Attribute const& ctppsStatusAttribute = CTPPSDataCursor.currentRow()[std::string("CTPPS_STATUS")]; | ||
//if (!ctppsStatusAttribute.isNull()) { | ||
// ctppsStatus = ctppsStatusAttribute.data<std::string>(); | ||
//} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tvami In principle this has been left intentionally, because the concerned variables are no longer available in the source db... Are they critical? Should we ask a replacement? Not sure. But maybe we can remove that block for the moment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe keep them commented but add a sentence above to explain this?
@cmsbuild , please test |
@@ -72,7 +72,7 @@ namespace cond { | |||
std::string name; | |||
Iov_t lastInterval; | |||
size_t size = 0; | |||
bool isEmpty() const { return lastInterval.since != time::MAX_VAL; } | |||
bool isEmpty() const { return lastInterval.since == time::MAX_VAL; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ggovi this changes completely the logic of isEmpty()
method, is this intended? (i.e. is it a bug-fix?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@francescobrivio Good catch Francesco! Yes, this looks weird, it was clearly buggy before the fix, but fortunately never used ( according to my check ). Now, instead, it is used, so I need it correctly implemented!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation Giacomo! then I agree with the change!
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1b812d/22431/summary.html Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36956/28382
|
@cmsbuild , please test |
+1
|
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. 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 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-1b812d/22486/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
+1 |
PR description:
A relevant subset of the online databases related to the DAQ and BEAM parameters control have been significantly reworked in view of run3. In particular, parameters concerning Fills, Lumisections and also most of the data handled by DIP have been moved to a different storage layout. The direct access on the corresponding Oracle tables has been discouraged in favour of queries made on a new dedicated web service, OMS.
This PR aims to re-work the implementation of the LHCInfo O2O workflow, adapting the extraction of the data source to the new indicated service, the OMS.
For this purpose a few utility classes have been created:
The O2O workflow has been adapted and is using these utilities.
PR validation:
Local Integration tests