Skip to content

[QC-1262] repo_cleaner instances must not share their last execution time - #2700

Merged
Barthelemy merged 1 commit into
AliceO2Group:masterfrom
Barthelemy:repocleaner-ts-file-name
Oct 14, 2026
Merged

Barthelemy merged 1 commit into
AliceO2Group:masterfrom
Barthelemy:repocleaner-ts-file-name

Conversation

@Barthelemy

Copy link
Copy Markdown
Collaborator

The last time repocleaner is ran is stored as a timestamp in a file in /tmp. The issue was that the file name was the same whatever the instance and we actually run one instance for sync and one for async in the same machine. Thus they were cross-talking.

The proposed changes make sure we have a different file for each instance. As there are different ways of launching the script we have different ways of computing the unique file name. In same cases it might not be unique but I know from the usage that it won't be an issue. What matters is the "config_consul" case.

different repo_cleaner must use a different file for the last run

@knopers8 knopers8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thank you

@Barthelemy
Barthelemy merged commit ff427da into AliceO2Group:master Oct 14, 2026
5 of 6 checks passed
@Barthelemy
Barthelemy deleted the repocleaner-ts-file-name branch October 14, 2026 09:14
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