Skip to content

Conversation

@Jo-stfc
Copy link
Collaborator

@Jo-stfc Jo-stfc commented Oct 27, 2025

merge XrdCeph streamed checksums

Jo-stfc and others added 30 commits March 28, 2023 15:02
…appen.

gateways with 100 reported load would still add and take 1 slot in the selection,
preventing the algorithm from focussing on the first gateway in the list
Jo-stfc and others added 30 commits February 3, 2025 16:17
It is already used for path-based redirects, so we should not introduce
conflicts.
It was noticed that for reads there may be some inefficiencies when
xcache is involved. For writes, however, the buffering layer improved
pefromance significantly.

So, it make sense to introduce the write-only mode.
…hecksum. Settings for streamed checksum allow calculation only, calc+log, and calc+log+store as extended attribute. Record streamed and readback checksums in a central checksums.log file.
on XrdCmsCluster, replace the more verbose file not found response on dfs systems with a simpler 'file not found'. This is because the error message caused confusion for users and the additional info is not relevant at RAL due to having a shared storage backend
…tialised checksum value when client reads file. Move recording of readback checksum value into XrdCephPosix instead of Set() method in XrdCephXAttr.cc. More checks for writable checksum record file
…ing zlib directly

Move from using zlib adler32() function to XrdCks/XrdCksCalcadler32. The
superclass, XrdCksCalc, provides a uniform interface to all supported
checksum algorithms, and is the preferred method in XRootD.
Remove an unneccessary guard condition in the ceph_posix_*write()
methods.
Make XrdCeph plugin approach to calculating streamed checksums more acceptable by using the more generic XrdCksCalc class, subclass XrdCksCalcadler32, rather than calling the zlib adler32 function directly.
The XrdCksCalc object in the CephFileRef structure needs a matching
delete in ceph_posix_close()
Without the patch, Mac OS X is missing the macros for the json-c
library.
This commit adds a new configuration directive: 'http.redirtoken'.

When this new directive is enabled, a valid SciToken in the URL as
an `authz` argument will be replaced on redirection with a sufficient
Macaroon instead. The redirected Macaroon will have a short lifetime
and be specific to the path being accessed.
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.

6 participants