Skip to content

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

@update-docs
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.

@glpatcern glpatcern marked this pull request as draft March 28, 2025 16:16
@glpatcern glpatcern force-pushed the fix-eosapp branch 2 times, most recently from 852205d to 69719a1 Compare June 2, 2025 07:29
@glpatcern glpatcern force-pushed the fix-eosapp branch 2 times, most recently from 154affc to 3024b1a Compare July 31, 2025 13:08
@glpatcern glpatcern marked this pull request as ready for review August 29, 2025 13:37
@glpatcern
Copy link
Member Author

Tests were completed and I got the proof that we're doing "the right thing", i.e. the necessary header is passed to EOS.

Then we have a bug in EOS to be fixed for this to really work end-to-end, but I believe we can merge this PR in Reva anyway.

@glpatcern glpatcern merged commit 3f6afba into cs3org:master Aug 29, 2025
16 checks passed
@glpatcern glpatcern deleted the fix-eosapp branch September 23, 2025 16:18
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