Skip to content
Snippets Groups Projects
Commit de6d1809 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Fixed small bug in nsfileid comparison in tape write task, and added...

Fixed small bug in nsfileid comparison in tape write task, and added ctacatalogue in xroot plugin linkage
parent b3bb0372
Branches
Tags
No related merge requests found
......@@ -218,7 +218,7 @@ namespace daemon {
//------------------------------------------------------------------------------
void TapeWriteTask::checkErrors(MemBlock* mb,int memBlockId,castor::log::LogContext& lc){
using namespace castor::log;
if(m_archiveJob->archiveFile.fileId != static_cast<unsigned int>(mb->m_fileid)
if(m_archiveJob->archiveFile.fileId != mb->m_fileid
|| memBlockId != mb->m_fileBlock
|| mb->isFailed()
|| mb->isCanceled()) {
......
......@@ -8,7 +8,7 @@ include_directories(${CMAKE_BINARY_DIR})
include_directories(${CMAKE_SOURCE_DIR}/tapeserver)
add_library (XrdCtaOfs MODULE XrdCtaFilesystem.cpp XrdCtaFile.cpp)
target_link_libraries (XrdCtaOfs ctascheduler ctacommon ctanameserver ctaremotens protobuf ctaobjectstore cryptopp)
target_link_libraries (XrdCtaOfs ctacatalogue ctascheduler ctacommon ctanameserver ctaremotens protobuf ctaobjectstore cryptopp)
INSTALL (TARGETS XrdCtaOfs DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
INSTALL (FILES xrd.cf.cta DESTINATION ${CMAKE_INSTALL_SYSCONFDIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment