Skip to content

Fix inconsistencies on the 'cta-restore-deleted-files' tool

As a result of https://gitlab.cern.ch/cta/operations/-/issues/1136, we realised that the cta-restore-deleted-files tool needs some fixes:


  • The -f/--fxid flag only takes a decimal EOS file ID. It should take the hexadecimal one.
  • The fid/fxid should only work when the disk instance name is provided (see CI restore test). Either archiveid + diskinstance OR fileid + diskinstance.
  • It must report on which VID the file was restored in its logs. Otherwise we have to use archiveid over tf to get the list of tapes (which takes an impossibly long time for 2M files...)