Print

Print


  Hi Fons,

On Tue, Aug 17, 2004 at 12:48:43PM +0200, Fons Rademakers wrote:
>   the rule in TFile::Open for opening via rootd currently is:
> 
>     "If the url points to the localhost and the file will be opened in
>      readonly mode and the current user has read access or the specified
>      user is equal to the current user then open local TFile."
> 
> This feature is specially important for PROOF where we access files
> always via rootd urls (so any worker can access any file) but where the
> packetizer optimizes the work so that the workers mostly will get local
> files. Using the above feature these local files will be opened directly
> as TFile's and won't go through rootd. To force a local file to be
> opened via rootd specify as host "localhost". If TXUrl this also
> supports then we will have the same behavior. If this "localhost"
> feature is supported by netx/xrootd then we can always use that as
> "backdoor" to test xrootd on the same machine as where the client runs.

  Yes, the "localhost" option was in fact what Alvise and Fabrizio were
using themselves for this purpose. I've still not succeeded in building
the HEAD, but is the issue you are seeing related to the "in or out domain"
checks? That is what I was seeing with the last XTNetFile version before
they began the migration to TXNetFile.

                                   Pete

-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------