public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cachelib] epel10.3: Update to 2023.09.11.00
@ 2026-10-08  9:23 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-10-08  9:23 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/cachelib
            Branch : epel10.3
            Commit : 835f9a0ba20d4780b3203a20b3f8ec9f687e62d8
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2023-09-12T15:53:53-05:00
            Stats  : +4/-60 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/cachelib/c/835f9a0ba20d4780b3203a20b3f8ec9f687e62d8?branch=epel10.3

            Log:
            Update to 2023.09.11.00

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index 4ab2e52..d79f42c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /CacheLib-bd22b0eb79f7e2326f77a22c278c48e454882291.tar.gz
 /cachelib-2023.04.24.00.tar.gz
 /cachelib-2023.07.03.00.tar.gz
+/cachelib-2023.09.11.00.tar.gz

diff --git a/cachelib-add_missing_includes.diff b/cachelib-add_missing_includes.diff
deleted file mode 100644
index 5849cb3..0000000
--- a/cachelib-add_missing_includes.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/cachelib/cachebench/consistency/ShortThreadId.cpp
-+++ b/cachelib/cachebench/consistency/ShortThreadId.cpp
-@@ -19,6 +19,7 @@
- #include <limits>
- #include <mutex>
- #include <shared_mutex>
-+#include <stdexcept>
- 
- namespace facebook {
- namespace cachelib {

diff --git a/cachelib-fix_for_atomic_formatting.patch b/cachelib-fix_for_atomic_formatting.patch
deleted file mode 100644
index 6efb3b7..0000000
--- a/cachelib-fix_for_atomic_formatting.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 39f1f92f6f039e7b1a161b5302fd9b8952fc97f8 Mon Sep 17 00:00:00 2001
-From: Dan Melnic <dmm@meta.com>
-Date: Thu, 6 Jul 2023 17:42:20 -0700
-Subject: [PATCH] Fix for atomic formatting
-
-Summary: static assertion failed: Cannot format an argument
-
-Reviewed By: vitaut
-
-Differential Revision: D47277406
-
-fbshipit-source-id: 4e784997d72860a9447cc069c72f0e4bf92af7e0
----
- cachelib/navy/admission_policy/DynamicRandomAP.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cachelib/navy/admission_policy/DynamicRandomAP.cpp b/cachelib/navy/admission_policy/DynamicRandomAP.cpp
-index 3a8a1aa09..d8238415b 100644
---- a/cachelib/navy/admission_policy/DynamicRandomAP.cpp
-+++ b/cachelib/navy/admission_policy/DynamicRandomAP.cpp
-@@ -189,7 +189,7 @@ void DynamicRandomAP::updateThrottleParamsLocked(std::chrono::seconds curTime) {
-     XLOGF(INFO,
-           "max write rate {} will be used because target current write rate {} "
-           "exceeds it.",
--          maxRate_, curTargetRate);
-+          maxRate_.load(), curTargetRate);
-     curTargetRate = maxRate_;
-   }
-   writeStats_.curTargetRate = curTargetRate;

diff --git a/cachelib-fix_for_atomic_formatting_part2.patch b/cachelib-fix_for_atomic_formatting_part2.patch
deleted file mode 100644
index a5b029c..0000000
--- a/cachelib-fix_for_atomic_formatting_part2.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/cachelib/cachebench/cache/ItemRecords.h
-+++ b/cachelib/cachebench/cache/ItemRecords.h
-@@ -102,11 +102,11 @@ class ItemRecords {
-     }
-     if (record.destructCount != 0) {
-       XLOGF(ERR, "unexpected destructCount {} for item {}, context {}|{}",
--            record.destructCount, item.getKey(), data.context, record.context);
-+            record.destructCount, item.getKey().toString(), data.context, record.context);
-     }
-     if (record.version != ptr->getVersion()) {
-       XLOGF(ERR, "unexpected version {}|{} for item {}", record.version,
--            ptr->getVersion(), item.getKey());
-+            ptr->getVersion(), item.getKey().toString());
-     }
-     ++record.destructCount;
- 

diff --git a/cachelib.spec b/cachelib.spec
index dac82e6..7b209d6 100644
--- a/cachelib.spec
+++ b/cachelib.spec
@@ -9,7 +9,7 @@
 %bcond_with check
 
 %global forgeurl https://github.com/facebook/CacheLib
-%global tag 2023.07.03.00
+%global tag 2023.09.11.00
 %global date %(echo %{tag} | sed -e 's|.00$||' | sed -e 's|\\.||g')
 # disable forge macro snapinfo generation
 # https://pagure.io/fedora-infra/rpmautospec/issue/240
@@ -27,9 +27,6 @@ Summary:        Pluggable caching engine for scale high performance cache servic
 License:        Apache-2.0
 URL:            %forgeurl
 Source0:        %{url}/archive/v%{tag}/%{name}-%{tag}.tar.gz
-# needed for compiling with fmt 10
-Patch0:         %{url}/commit/39f1f92f6f039e7b1a161b5302fd9b8952fc97f8.patch#/%{name}-fix_for_atomic_formatting.patch
-Patch1:         %{name}-fix_for_atomic_formatting_part2.patch
 # needed on EL8; its gtest does not come with cmake files
 Patch100:       %{name}-find-gtest.patch
 # Workaround for gcc issue (still needed on epel9 x86_64)
@@ -55,6 +52,7 @@ BuildRequires:  gmock-devel
 BuildRequires:  gtest-devel
 BuildRequires:  libdwarf-devel
 BuildRequires:  libzstd-devel
+BuildRequires:  mvfst-devel
 BuildRequires:  numactl-devel
 BuildRequires:  wangle-devel
 BuildRequires:  zlib-devel

diff --git a/sources b/sources
index 18f7fd3..ae47469 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cachelib-2023.07.03.00.tar.gz) = aa5ab56e36bbf7197eeb8b21dcb7c0abe6947e2e37d0665a1ead0492b01dd71c6b4ab2c7e63637b49ac3b077d0507799176d4a525efd4513e1f6cca2332d919f
+SHA512 (cachelib-2023.09.11.00.tar.gz) = b9fff11bc27e4a5e4d519cd7cb53f95bd451e670c0452c80c1e1722a351b3172226e5b3da66d906aa649310493378015aa724cbfc216aed828fd49322a21311b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08  9:23 [rpms/cachelib] epel10.3: Update to 2023.09.11.00 Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox