Skip to content

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

Merged
mksahakyan merged 1 commit into11.0from
14502/11.0
Aug 21, 2025
Merged

pool: define replocas' lastAccessTime and creationTime on start up wh…#7852
mksahakyan merged 1 commit into11.0from
14502/11.0

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 a569bc6 into 11.0 Aug 21, 2025
1 of 3 checks passed
@mksahakyan mksahakyan deleted the 14502/11.0 branch August 21, 2025 10:16
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