Skip to content
Snippets Groups Projects
Commit 62920468 authored by Eric Cano's avatar Eric Cano
Browse files

#633: Added filtering of superseded tape files on retrieve.

parent 0054ca7c
No related branches found
No related tags found
No related merge requests found
Pipeline #32459 failed
......@@ -52,7 +52,7 @@ public:
osaf.set_reconciliationtime(reconciliationTime);
osaf.set_storageclass(storageClass);
for (auto & tf: tapeFiles)
TapeFileSerDeser(tf).serialize(*osaf.add_tapefiles());
if (tf.supersededByVid.empty()) TapeFileSerDeser(tf).serialize(*osaf.add_tapefiles());
}
void deserialize (const cta::objectstore::serializers::ArchiveFile & osaf) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment