Commit ab2be777 authored by Eric Cano's avatar Eric Cano
Browse files

EOS will now store the storage class per-file.

parent 69d29819
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment