Sorry for the duplicated post. I already reported this in an already merged PR[1] that seems related to this issue.

I think the issue fixed in the aforementioned PR[1] is still happening at the redirector level, when the redirector is optimized to do the lookup of the file/directory instead of redirecting the request. For example, this configuration triggers the issue:

cms.dfs lookup central mdhold 20m
and this doesn't
cms.dfs lookup distrib mdhold 20m redirect immed

Here there is an example of what you'll see when trying to create an already existing directory with gfal-mkdir:

[root@27d1fc7f1d47 tpc_transfers]# gfal-mkdir https://xrootd.ultralight.org:1094/store/temp/user/ddavila/newdir/
gfal-mkdir error: 2 (No such file or directory) - HTTP 404 : File not found  with url https://xrootd.ultralight.org:1094/store/temp/user/ddavila/newdir/

We saw this in versions: 4.12.3-1 and 5.0.2-1
[1] #1164


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1360", "url": "https://github.com/xrootd/xrootd/issues/1360", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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