Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Better handling of sendfile error recovery. In the old version some sendfile errors caused the server to disconnected the client. In the new version the server recovers from the sendfile errors and does not disconnect the client. Disconnecting the client is not fatal as after a timeout the client notices the disconnect and reconnects again to the server, but it will slow down the client.
  2. Allow production accounts to remove certain directories, mainly (/glast/Scratch/). This option is so far only available in the test xrootd setup.

Testing

As every xrootd version basic tests were done reading from and writing to xrootd, and testing the client admin interface (rm, stat, checksum,...).

...

To switch the servers back to the old version the production link has to be set to the old version and a restart of all xrootd servers is needed.

CCB Request

Details

To allow production accounts (glastraw, glastxrw, glastmc and glast) to remove directory trees the xrootd forward method is used. The redirector will be configured to forward a rmdir request to all data servers. The data servers upon a request will execute a script that first checks if a directory is eligible for removal and then remove all files and directories below the specified directory. The changes in the xrootd config are:

  1. On the redirector allow forwarding of the rmdir command
  2. On the data servers specify the script that is called by the xrootd to remove directories.

To deploy a new xrootd version the following steps are required:

  1. Update the xrootd config
  2. Stop the redirector
  3. Restart the data servers with the new version
  4. Start the redirectors with the new version

...