Skip to content

eos: fixed use of "app" tag #5130

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

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Mar 28, 2025

In this PR the use of the eos.app query parameter (for xrootd) or header (for HTTP traffic) is reviewed and "cleaned up":

  • Removed any : as this is used as separator in case of locks
  • Prefixed the tag with http/ as nowadays EOS is overriding the app tag with http/ in front for any traffic that comes via HTTP. As Reva is an HTTP client, we enforce it in all cases (even when it's used via xrootd)

The latter point is important to make sure lock enforcing works correctly, when the app actually reflects a web app for which a file was locked.

Side note: the eos.app parameter has been overloaded to serve two purposes in EOS, that is traffic tagging for monitoring purposes and file locking by apps. This was a sub-optimal design choice, and it implies that we have to fiddle with the extra http/ prefix...

Copy link

update-docs bot commented Mar 28, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

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.

3 participants