Print

Print


While testing XrdCl under network problems and heavy load it was seen that sometimes XrdPosix was losing a file, e.g.

220616 19:35:07 10284 Posix_DDestroy: in use 1 timeout closing root://pmpe01:1294//mockdat/file_tag85707784944_fnum4105.dat_22748801_0 2029 objects lost

this was with a small test client program, using the XrdPosix interface. Investigation showed only 1 attempt to close() the file, rather than the expected 6 (or 7) attempts. I think there is a problem with the reference count accounting, and - according to what I think it happening - I've attached a suggested change.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * [XrdPosix] Fix a case where delayed destroy would never re-try to close the file

-- File Changes --

    M src/XrdPosix/XrdPosixXrootd.cc (8)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1724
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