From f0c309b7cc3e67ade6e98c117653e194c3363f1e Mon Sep 17 00:00:00 2001 From: Michael Davis <michael.davis@cern.ch> Date: Wed, 11 Oct 2017 13:30:44 +0200 Subject: [PATCH] [ssi] Set recoveryblob = "deprecated" Recovery blob is deprecated. EOS will fill in metadata fields in the protocol buffer and we need to decide what will be stored in the database. --- xroot_plugins/XrdSsiCtaRequestMessage.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xroot_plugins/XrdSsiCtaRequestMessage.cpp b/xroot_plugins/XrdSsiCtaRequestMessage.cpp index 716aa24b81..a8d65babc2 100644 --- a/xroot_plugins/XrdSsiCtaRequestMessage.cpp +++ b/xroot_plugins/XrdSsiCtaRequestMessage.cpp @@ -325,6 +325,10 @@ void RequestMessage::processCLOSEW(const cta::eos::Notification ¬ification, c diskFileInfo.group = notification.file().owner().groupname(); diskFileInfo.path = notification.file().lpath(); + // Recovery blob is deprecated. EOS will fill in metadata fields in the protocol buffer + // and we need to decide what will be stored in the database. + diskFileInfo.recoveryBlob = "deprecated"; + std::string checksumtype(notification.file().cks().name()); if(checksumtype == "adler") checksumtype = "ADLER32"; // replace this with an enum! -- GitLab