Print

Print


This is a proposed fix for a problem seen with EOS; in general it's a problem likely only possible with xrootd servers  configured with plugins such that they use the delayed close feature (i.e. when the Ofs file close() can return SFS_STARTED).

I haven't opened an issue ticket for now (to describing what was seen, or attempts to reproduce the problem), but I could do so later if we want, but for now I don't. Essentially it seems the wrong file was closed or bytes were read from the wrong file.

This PR aims to correct the file handle number returned by XrdXrootdFileTable::Add() in case a heldSpot in the external table gets reused.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1998

-- Commit Summary --

  * [Server] Correct the fh returned when reusing a handle from external table

-- File Changes --

    M src/XrdXrootd/XrdXrootdFile.cc (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1998.patch
https://github.com/xrootd/xrootd/pull/1998.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1998
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1