Skip to content

When origin uses broker, have director redirect clients to cache for writes and listings #2425

@bbockelm

Description

@bbockelm

When the origin is behind a connection broker, the cache can connect to it - but normal clients can't. Since caches can proxy directory listings and writes (assuming xrootd/xrootd#2472 is applied), when in this mode the director should redirect the client to a nearby cache for listings and writes.

We may need to version gate this. Assuming v7.18.0 is the first version with the correct XRootD dependency for this functionality, then the director should ensure that the cache being used for proxying is at least v71.18.

Note: please coordinate with @matyasselmeci to make sure xrootd/xrootd#2472 is in the Pelican xrootd build. Given writes don't work at all with the origin in broker mode, we can ignore backward compatibility issues.

Metadata

Metadata

Assignees

Labels

directorIssue relating to the director componentenhancementNew feature or requestoriginIssue relating to the origin component

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions