Skip to content

Sandbox to Master - #52

Merged
martinavalogiasamraj merged 335 commits into
sandboxfrom
master
May 20, 2026
Merged

Sandbox to Master#52
martinavalogiasamraj merged 335 commits into
sandboxfrom
master

Conversation

@martinavalogiasamraj

Copy link
Copy Markdown
Collaborator

No description provided.

dynamic-entropy and others added 30 commits November 25, 2025 14:14
Allow the PFC to proxy ("write-through") writes when configured
to do so (default is current behavior of disabling writes).

The implementation is simple -- when writing is enabled, don't
attach the PFC to the cache object.

Adds a new parameter:
```
pfc.writemode [writethrough | off]
```
where the default write mode is `off`.
This can be useful e.g. for Xcache proxy to allow it to redirect
incoming write requests to the origin.
Tokens are created during XRootD::scitokens::setup, and the tests are
run in XRootD::scitoken::test. If the token lifetime is too short, the
scheduling of tests may be such that some long running tests are run in
between XRootD::scitokens::setup and XRootD::scitoken::test, which then
makes it likely that the token will be already expired when the actual
test starts, leading to errors in the CI.
This function iterates over pSources without taking the required
pMtx lock, so the iterator can become stale if the list is modified
by another thread, causing a crash.

Fixes: xrootd#2659
After increasing the timeouts in commit 9f18c52, the tests work most of
the time. However, there are still occasional failures due to timeouts.

There are two types of errors:

1. Run: [ERROR] Socket timeout:  (destination)

This is the XRD_STREAMTIMEOUT (currently set to 5 seconds) expiring.

2. Run: [ERROR] Operation expired:  (destination)

This is the XRD_REQUESTTIMEOUT (currently set to 10 seconds) expirin.g

This commit increases the timeouts to 10 and 15 seconds respectively.
This adds constructors to allow initliasing
the XrdCl::File plugins  without having to
call Open on the file.
ellert and others added 27 commits April 23, 2026 13:52
Needed for compilation on GNU/Hurd.

Possibly there are better solutions, but this is consistent with the
implementation in src/XrdSys/XrdSysPthread.cc
…e minor bugs (xrootd#2775)

This introduces improved support for links in XrdPosix, specifically for
XrdPosixPreload. Current override functions for stat, statx, open etc do check
if the current file is to be handled by xrootd or not. If the file is a local
link pointing to e.g. EOS, these functions should resolve the link location and
check the target rather than the local link itself (exception: lstat). In
addition, this patch introduces overrides for openat and fstatat (albeit they
are likely not used much), and implements a few minor bug fixes.
Fixes test failure with Debian on sparc64
…dResolveLink

Fixes a bug reported by Coverity about the buffer potentially
not being null-terminated:

while (lsize > 0 && i<10){
CID 503592: (#1 of 1): Buffer not null terminated (BUFFER_SIZE)
11. buffer_size_warning: Calling strncpy with a maximum size argument of 2049 bytes
on destination array filename of size 2049 bytes might leave the destination string
unterminated.
129      strncpy(filename, unref, 2049);
@martinavalogiasamraj martinavalogiasamraj changed the title MC Sandbox to Master May 20, 2026
@martinavalogiasamraj
martinavalogiasamraj merged commit fc38723 into sandbox May 20, 2026
86 of 96 checks passed
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.