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

EOS will now store the storage class per-file.

parent 417f7ec6
Branches
Tags
No related merge requests found
......@@ -389,6 +389,9 @@ void RequestMessage::processCREATE(const cta::eos::Notification &notification, c
// Set ArchiveFileId in xattrs
response.mutable_xattr()->insert(google::protobuf::MapPair<std::string,std::string>("CTA_ArchiveFileId", std::to_string(archiveFileId)));
// Set the storage class in xattrs
response.mutable_xattr()->insert(google::protobuf::MapPair<std::string,std::string>("CTA_StorageClass", storageClass));
// Set response type
response.set_type(cta::xrd::Response::RSP_SUCCESS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment