Describe the bug
When serving a cache and an origin, if the cache waits a bit after the origin has been served, the sci-tokens authfile creates repeated paths.
Desktop (please complete the following information):
OS: Linux
Additional context
While this is showing up in the cache, I suspect it's an issue with the director and the periodic re-advertisement. Either in the cache or the origin.
Since duplicating the namespace doesn't break anything, everything still functions as normal, it is a growing memory issue.
Pelican Version: 7.5.6
Pelican Service:
Describe the bug When serving a cache and an origin, if the cache waits a bit after the origin has been served, the sci-tokens authfile creates repeated paths.
Example:
To Reproduce Serve a pelican origin:
Wait a bit, ~10 minutes
Serve a pelican cache:
Then view the cache's generated scitokens file.
Expected behavior
Even if the origin advertises multiple times, the namespace shouldn't be repeated, either in the director or the cache. So it should look like:
Desktop (please complete the following information):
Additional context While this is showing up in the cache, I suspect it's an issue with the director and the periodic re-advertisement. Either in the cache or the origin.
Since duplicating the namespace doesn't break anything, everything still functions as normal, it is a growing memory issue.