Skip to content

pool: define replocas' lastAccessTime and creationTime on start up wh… #7856

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

Merged
merged 1 commit into from
Aug 18, 2025

Conversation

DmitryLitvintsev
Copy link
Member

…en repository

is not present

Motivation:

Replicas on pools that have been restarted after their meta ditrectories were wiped out show nonsensical lifetimes (55 years)

Modification:

Define lastAccessTime and creationTime when loading repository from directory on startup from scrach

Result:

Correct lastAccess and creationTime displayed by sweeper ls and thus replica lifetimes reported by dCache REST Api

Patch: https://rb.dcache.org/r/14502/
Acked-by: Karen
Target: trunk
Request: 11.0
Request: 10.2
Request: 10.1
Request: 9.2

Require-book: no
Require-notes: yes

…en repository

is not present

Motivation:
-----------

Replicas on pools that have been restarted after their meta ditrectories
were wiped out show nonsensical lifetimes (55 years)

Modification:
-------------

Define lastAccessTime and creationTime when loading repository from
directory on startup from scrach

Result:
-------

Correct lastAccess and creationTime displayed by sweeper ls and thus
replica lifetimes reported by dCache REST Api

Patch: https://rb.dcache.org/r/14502/
Acked-by: Karen
Target: trunk
Request: 11.0
Request: 10.2
Request: 10.1
Request: 9.2

Require-book: no
Require-notes: yes
@mksahakyan mksahakyan merged commit 6e42da1 into 9.2 Aug 18, 2025
2 checks passed
@mksahakyan mksahakyan deleted the 14502/9.2 branch August 18, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants