From ca520ddc8032e8e14a1ecc668b87c2a5f8cba9f9 Mon Sep 17 00:00:00 2001 From: Matyas Selmeci Date: Fri, 3 Feb 2023 15:49:12 -0600 Subject: [PATCH] xcache 3.4.0: add xrootd-tcp-stats for stash-cache and stash-cache-auth (SOFTWARE-5373) --- Makefile | 2 +- configs/stash-cache/config.d/40-stash-cache-plugin.cfg | 6 ++++++ rpm/xcache.spec | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index baafac5a..3cdcea8b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # ------------------------------------------------------------------------------ PACKAGE := xcache -VERSION := 3.3.0 +VERSION := 3.4.0 # ------------------------------------------------------------------------------ diff --git a/configs/stash-cache/config.d/40-stash-cache-plugin.cfg b/configs/stash-cache/config.d/40-stash-cache-plugin.cfg index 09fcb10d..a120ed66 100644 --- a/configs/stash-cache/config.d/40-stash-cache-plugin.cfg +++ b/configs/stash-cache/config.d/40-stash-cache-plugin.cfg @@ -110,3 +110,9 @@ pfc.diskusage $eSPACELOWWM $eSPACEHIGHWM # For NVMe' it is not so critical. pfc.writequeue $eWQBLOCKS $eWQTHREADS +if named stash-cache + xrd.tcpmonlib /usr/lib64/libXrdTCPStats.so +else if named stash-cache-auth + xrd.tcpmonlib /usr/lib64/libXrdTCPStats.so +fi + diff --git a/rpm/xcache.spec b/rpm/xcache.spec index 6c83a697..92094b54 100644 --- a/rpm/xcache.spec +++ b/rpm/xcache.spec @@ -1,6 +1,6 @@ Name: xcache Summary: XCache scripts and configurations -Version: 3.3.0 +Version: 3.4.0 Release: 1%{?dist} License: Apache 2.0 Group: Grid @@ -103,6 +103,7 @@ Summary: The OSG data federation cache server Requires: %{name} = %{version} Requires: wget +Requires: xrootd-tcp-stats Provides: stashcache-cache-server = %{name}-%{version} Provides: stashcache-cache-server-auth = %{name}-%{version} @@ -279,6 +280,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/grid-security/xrd %config %{_sysconfdir}/xrootd/config.d/03-redir-tuning.cfg %changelog +* Fri Feb 03 2023 Mátyás Selmeci - 3.4.0-1 +- Enable XRootD TCP Stats for stash-cache and stash-cache-auth (SOFTWARE-5373) + * Fri Dec 02 2022 Mátyás Selmeci - 3.3.0-1 - Remove X.509 proxy requirement for stash-cache xrootd instance (SOFTWARE-5366)