Print

Print


@wyang007 commented on this pull request.


In src/XrdPosix/XrdPosixXrootd.cc:

> @@ -1060,8 +1060,66 @@ int XrdPosixXrootd::Rename(const char *oldpath, const char *newpath)
 
 // Issue the rename
 //
-  return XrdPosixMap::Result(admin.Xrd.Mv(admin.Url.GetPathWithParams(),
-                             newUrl.GetPathWithParams()));
+   if (! getenv("XRDCL_EC"))

XRDCL_EC is set in XrdCl::PlugInManager::[log in to unmask]. Based on gdb stack trace, this function is called by XrdOssGetSS while loading libXrdPss.so, before XrdPosixConfig::EnvInfo() is called. So we will test XRDCL_EC in XrdPosixConfig::EnvInfo() and XrdPosixGlobals::usingEC there.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1599/review/872683324@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1599#discussion_r799172433", "url": "https://github.com/xrootd/xrootd/pull/1599#discussion_r799172433", "name": "View Pull Request" }, "description": "View this Pull Request 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