Skip to content

Commit

Permalink
edit filenotfound response for dfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jo-stfc committed Sep 24, 2024
1 parent d583a7f commit 441fd05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/XrdCms/XrdCmsCluster.cc
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ int XrdCmsCluster::Select(XrdCmsSelect &Sel)
pmask |= pinfo.ssvec & Sel.nmask;
if (pmask && maxBits(pmask, baseFS.dfsTries()))
{Sel.Resp.DLen = snprintf(Sel.Resp.Data, sizeof(Sel.Resp.Data)-1,
"Too many attempts to gain dfs %s access to the file", Amode)+1;
"File not found - too many attempts to gain dfs %s access to the file", Amode)+1;
return RetryErr;
}
}
Expand Down
8 changes: 4 additions & 4 deletions xrootd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

Name: xrootd
Epoch: 1
Release: 1%{?dist}%{?with_clang:.clang}%{?with_asan:.asan}%{?with_openssl11:.ssl11}
Release: 3%{?dist}%{?with_clang:.clang}%{?with_asan:.asan}%{?with_openssl11:.ssl11}
Summary: Extended ROOT File Server
Group: System Environment/Daemons
License: LGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND curl AND MIT AND Zlib
Expand Down Expand Up @@ -319,12 +319,12 @@ xrdcl-http is an XRootD client plugin which allows XRootD to interact
with HTTP repositories.

%if %{with ceph}
%package ceph
%package ceph-buffered
Summary: XRootD plugin for interfacing with the Ceph storage platform
Group: System Environment/Libraries
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}

%description ceph
%description ceph-buffered
The xrootd-ceph is an OSS layer plugin for the XRootD server for
interfacing with the Ceph storage platform.
%endif
Expand Down Expand Up @@ -870,7 +870,7 @@ fi
%config(noreplace) %{_sysconfdir}/%{name}/client.plugins.d/xrdcl-http-plugin.conf

%if %{with ceph}
%files ceph
%files ceph-buffered
%{_libdir}/libXrdCeph-5.so
%{_libdir}/libXrdCephXattr-5.so
%{_libdir}/libXrdCephPosix.so.*
Expand Down

0 comments on commit 441fd05

Please sign in to comment.