Skip to content

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

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

Open
wants to merge 1 commit into
base: 10.2
Choose a base branch
from

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
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.

1 participant