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

[QC-996] policy multiple_per_run can delete first and last #1921

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

Barthelemy
Copy link
Collaborator

No description provided.

@Barthelemy Barthelemy changed the title [WIP] [QC-996] policy multiple_per_run can delete first and last [QC-996] policy multiple_per_run can delete first and last Aug 28, 2023
preservation_list.extend(run_versions)
continue
# flag second with `cleaner_2nd`
ccdb.updateValidity(run_versions[1], run_versions[1].validFrom, run_versions[1].validTo,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knopers8 I think that here we should not actually update the validity right ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now we probably never should update validity

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah wait, my bad, this is actually not touching the validity but adds the flag.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knopers8 is it ok ? it is not touching the validity, it is just using this method to add the flag.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but perhaps we should have another method for doing this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have created a dedicated method. Behind the scene we still have to specify the validity due to the way the CCDB rest api works.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

… requires to specify the start of validity behind the scene.
@Barthelemy Barthelemy merged commit 85f30bc into AliceO2Group:master Nov 1, 2023
8 checks passed
@Barthelemy Barthelemy deleted the delete-last-first branch November 1, 2023 12:58
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