Skip to content

Commit

Permalink
MGM: don't lookup the 'space' name if there is only a tape copy
Browse files Browse the repository at this point in the history
  • Loading branch information
apeters1971 committed Jan 8, 2025
1 parent a6a30c3 commit f425416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mgm/XrdMgmOfsFile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ XrdMgmOfsFile::open(eos::common::VirtualIdentity* invid,

if (vid.prot != "https" && !isInjection && !isTpc && !isRepair && fmd) {
// we need to get the space by looking at the first location
if (fmdfs0) {
if (fmdfs0 && (fmdfs0 != EOS_TAPE_FSID)) {
eos::common::FileSystem::fs_snapshot_t local_snapshot;
{
eos::common::RWMutexReadLock fs_rd_lock(FsView::gFsView.ViewMutex);
Expand Down Expand Up @@ -1598,7 +1598,7 @@ XrdMgmOfsFile::open(eos::common::VirtualIdentity* invid,

if (vid.prot != "https" && !isTpc && !isRepair && !isRepairRead && !isPio && !isPioReconstruct) {
// we need to get the space by looking at the first location
if (fmdfs0) {
if (fmdfs0 && (fmdfs0 != EOS_TAPE_FSID)) {
eos::common::FileSystem::fs_snapshot_t local_snapshot;
{
eos::common::RWMutexReadLock fs_rd_lock(FsView::gFsView.ViewMutex);
Expand Down

0 comments on commit f425416

Please sign in to comment.