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

CcdbInspector: run number specified in CCDB queries #2380

Conversation

aferrero2707
Copy link
Contributor

In the case of queries to the CCDB the metadata was completely empty, so the latest version of the queried object was retrieved regardless of the run number.
This leads to failures in retrieving the appropriate object in cases where the same type of object is updated by multiple parallel runs, as it is the case for example for the CTP configuration object. In such cases the object from the wrong run might be retrieved, if it was created shortly after the good one.

To avoid that this kind of corner cases leads to wrongly reported failures, the run number is now explicitly set in the metadata used for the CCDB queries, as it was already done for the QCDB ones.

In the case of queries to the CCDB the metadata was completely empty, so
the latest version of the queried object was retrieved regardless of the
run number.
This leads to failures in retrieving the appropriate object in cases where
the same type of object is updated by multiple parallel runs, as it is the
case for example for the CTP configuration object. In such cases the object
from the wrong run might be retrieved, if it was created shortly after the
good one.

To avoid that this kind of corner cases leads to wrongly reported failures,
the run number is now explicitly set in the metadata used for the CCDB
queries, as it was already done for the QCDB ones.
@aferrero2707 aferrero2707 force-pushed the common-specify-run-number-in-ccdbinspector-queries branch from f295f72 to 2931444 Compare August 8, 2024 15:46
@aferrero2707
Copy link
Contributor Author

@Barthelemy @knopers8 @justonedev1 would it be possible to have this PR reviewed and eventually merged in time for the next release? Thanks a lot!

@Barthelemy Barthelemy merged commit 6e96d18 into AliceO2Group:master Aug 15, 2024
7 checks passed
@aferrero2707 aferrero2707 deleted the common-specify-run-number-in-ccdbinspector-queries branch August 30, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants