public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schorm <mschorm@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/galera] rawhide: Rebase to 26.4.29
Date: Wed, 18 Nov 2026 11:53:58 GMT [thread overview]
Message-ID: <179500283836.1.2950458259401658614.rpms-galera-ec97df9aff0e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/galera
Branch : rawhide
Commit : ec97df9aff0eecf206d598fc3b1deaac0cbd8fd0
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-11-18T12:52:04+01:00
Stats : +4/-266 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/galera/c/ec97df9aff0eecf206d598fc3b1deaac0cbd8fd0?branch=rawhide
Log:
Rebase to 26.4.29
Released: 2026-11-12
Ships with MariaDB 12.3.4, 11.8.10, 11.4.14, 10.11.20
Release notes: https://mariadb.com/docs/release-notes/galera-cluster/26.4/26.4.28
https://mariadb.com/docs/release-notes/galera-cluster/26.4/26.4.29
Changelog: https://github.com/codership/galera/compare/release_26.4.27...release_26.4.29
MDEV-36926 implemented asio 1.14.1 through 1.38.0 compatibility, which superseded our downstream patch 'asio-1.33-compat.patch'
Resolves: rhbz#2574110
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/asio-1.33-compat.patch b/asio-1.33-compat.patch
deleted file mode 100644
index 16f9941..0000000
--- a/asio-1.33-compat.patch
+++ /dev/null
@@ -1,258 +0,0 @@
-From: Michal Schorm <mschorm@redhat.com>
-Subject: [PATCH] Fix compilation with asio >= 1.33.0
-
-asio 1.33.0 permanently removed deprecated APIs. Seven categories of
-removals affect galera 26.4.25:
-
-- 'asio::io_service' type alias (use 'asio::io_context')
-- 'io_context::post()' member (use free fn 'asio::post(ctx, fn)')
-- 'io_context::reset()' member (renamed to 'io_context::restart()')
-- 'resolver::iterator' type (use 'resolver::results_type')
-- 'resolver::query' class (use 'resolver.resolve(host, service)')
-- 'asio::ip::address::from_string()' (use 'asio::ip::make_address()')
-- 'timer::expires_from_now()' (renamed to 'timer::expires_after()')
-
-All replacements are available since asio 1.11.0 or 1.13.0; the patch
-is backward-compatible with asio 1.30.x and needs no version guards.
----
---- a/galerautils/src/gu_asio_io_service_impl.hpp
-+++ b/galerautils/src/gu_asio_io_service_impl.hpp
-@@ -16,7 +16,7 @@
-
- #include "gu_asio.hpp"
-
--#include "asio/io_service.hpp"
-+#include "asio/io_context.hpp"
- #ifdef GALERA_HAVE_SSL
- #include "asio/ssl.hpp"
- #endif // GALERA_HAVE_SSL
-@@ -35,9 +35,9 @@
- , ssl_context_()
- #endif // GALERA_HAVE_SSL
- { }
-- asio::io_service& native() { return io_service_; }
-+ asio::io_context& native() { return io_service_; }
- private:
-- asio::io_service io_service_;
-+ asio::io_context io_service_;
- public:
- #ifdef GALERA_HAVE_SSL
- std::unique_ptr<asio::ssl::context> ssl_context_;
---- a/galerautils/src/gu_asio_ip_address_impl.hpp
-+++ b/galerautils/src/gu_asio_ip_address_impl.hpp
-@@ -65,7 +65,7 @@
-
- static inline asio::ip::address make_address(const std::string& addr)
- {
-- return asio::ip::address::from_string(gu::unescape_addr(addr));
-+ return asio::ip::make_address(gu::unescape_addr(addr));
- }
-
- static inline std::string any_addr(const asio::ip::address& addr)
---- a/galerautils/src/gu_asio.cpp
-+++ b/galerautils/src/gu_asio.cpp
-@@ -753,7 +753,7 @@
-
- void gu::AsioIoService::post(std::function<void()> fun)
- {
-- impl_->native().post(fun);
-+ asio::post(impl_->native(), fun);
- }
-
- void gu::AsioIoService::stop()
-@@ -763,7 +763,7 @@
-
- void gu::AsioIoService::reset()
- {
-- impl_->native().reset();
-+ impl_->native().restart();
- }
-
- gu::AsioIoService::Impl& gu::AsioIoService::impl()
-@@ -808,7 +808,7 @@
- typedef asio::steady_timer native_timer_type;
- #endif /* #if (__GNUC__ == 4 && __GNUC_MINOR__ == 4) */
-
-- Impl(asio::io_service& io_service) : timer_(io_service) { }
-+ Impl(asio::io_context& io_service) : timer_(io_service) { }
- native_timer_type& native() { return timer_; }
- void handle_wait(const std::shared_ptr<AsioSteadyTimerHandler>& handler,
- const asio::error_code& ec)
-@@ -845,7 +845,7 @@
- void gu::AsioSteadyTimer::expires_from_now(
- const AsioClock::duration& duration)
- {
-- impl_->native().expires_from_now(to_native_duration(duration));
-+ impl_->native().expires_after(to_native_duration(duration));
- }
-
- void gu::AsioSteadyTimer::async_wait(
---- a/galerautils/src/gu_asio_datagram.hpp
-+++ b/galerautils/src/gu_asio_datagram.hpp
-@@ -35,7 +35,7 @@
-
- ~AsioUdpSocket() noexcept(false);
-
-- asio::ip::udp::resolver::iterator resolve_and_open(const gu::URI& uri);
-+ asio::ip::udp::resolver::results_type resolve_and_open(const gu::URI& uri);
-
- virtual void open(const gu::URI& uri) GALERA_OVERRIDE;
-
---- a/galerautils/src/gu_asio_datagram.cpp
-+++ b/galerautils/src/gu_asio_datagram.cpp
-@@ -19,14 +19,13 @@
-
- #include <boost/bind.hpp>
-
--static asio::ip::udp::resolver::iterator resolve_udp(
-- asio::io_service& io_service,
-+static asio::ip::udp::resolver::results_type resolve_udp(
-+ asio::io_context& io_service,
- const gu::URI& uri)
- {
- asio::ip::udp::resolver resolver(io_service);
-- asio::ip::udp::resolver::query query(gu::unescape_addr(uri.get_host()),
-- uri.get_port());
-- return resolver.resolve(query);
-+ return resolver.resolve(gu::unescape_addr(uri.get_host()),
-+ uri.get_port());
- }
-
- static bool is_multicast(const asio::ip::udp::endpoint& ep)
-@@ -95,13 +94,13 @@
- close();
- }
-
--asio::ip::udp::resolver::iterator
-+asio::ip::udp::resolver::results_type
- gu::AsioUdpSocket::resolve_and_open(const gu::URI& uri)
- {
- try
- {
- auto resolve_result(resolve_udp(io_service_.impl().native(), uri));
-- socket_.open(resolve_result->endpoint().protocol());
-+ socket_.open(resolve_result.begin()->endpoint().protocol());
- set_fd_options(socket_);
- return resolve_result;
- }
-@@ -141,7 +140,7 @@
- {
- try
- {
-- asio::ip::udp::resolver::iterator resolve_result;
-+ asio::ip::udp::resolver::results_type resolve_result;
- if (not socket_.is_open())
- {
- resolve_result = resolve_and_open(uri);
-@@ -164,18 +163,18 @@
- ::make_address(
- uri.get_option("socket.if_addr",
- ::any_addr(
-- resolve_result->endpoint().address())));
-+ resolve_result.begin()->endpoint().address())));
-
-- if (is_multicast(resolve_result->endpoint()))
-+ if (is_multicast(resolve_result.begin()->endpoint()))
- {
-- join_group(socket_, resolve_result->endpoint(), local_if_);
-+ join_group(socket_, resolve_result.begin()->endpoint(), local_if_);
- socket_.set_option(
- asio::ip::multicast::enable_loopback(
- gu::from_string<bool>(uri.get_option("socket.if_loop", "false"))));
- socket_.set_option(
- asio::ip::multicast::hops(
- gu::from_string<int>(uri.get_option("socket.mcast_ttl", "1"))));
-- socket_.bind(*resolve_result);
-+ socket_.bind(*resolve_result.begin());
- }
- else
- {
---- a/galerautils/src/gu_asio_socket_util.hpp
-+++ b/galerautils/src/gu_asio_socket_util.hpp
-@@ -113,18 +113,17 @@
- }
- }
-
--static inline asio::ip::tcp::resolver::iterator resolve_tcp(
-- asio::io_service& io_service,
-+static inline asio::ip::tcp::resolver::results_type resolve_tcp(
-+ asio::io_context& io_service,
- const gu::URI& uri)
- {
- asio::ip::tcp::resolver resolver(io_service);
-- // Give query flags explicitly to avoid having AI_ADDRCONFIG in
-+ // Give resolve flags explicitly to avoid having AI_ADDRCONFIG in
- // underlying getaddrinfo() hint flags.
-- asio::ip::tcp::resolver::query
-- query(gu::unescape_addr(uri.get_host()),
-- uri.get_port(),
-- asio::ip::tcp::resolver::query::flags(0));
-- return resolver.resolve(query);
-+ return resolver.resolve(
-+ gu::unescape_addr(uri.get_host()),
-+ uri.get_port(),
-+ asio::ip::resolver_base::flags(0));
- }
-
- template <class Socket>
---- a/galerautils/src/gu_asio_stream_react.cpp
-+++ b/galerautils/src/gu_asio_stream_react.cpp
-@@ -63,7 +63,7 @@
- void gu::AsioStreamReact::open(const gu::URI& uri) try
- {
- auto resolve_result(resolve_tcp(io_service_.impl().native(), uri));
-- socket_.open(resolve_result->endpoint().protocol());
-+ socket_.open(resolve_result.begin()->endpoint().protocol());
- set_fd_options(socket_);
- }
- catch (const asio::system_error& e)
-@@ -125,10 +125,10 @@
- auto resolve_result(resolve_tcp(io_service_.impl().native(), uri));
- if (not socket_.is_open())
- {
-- socket_.open(resolve_result->endpoint().protocol());
-+ socket_.open(resolve_result.begin()->endpoint().protocol());
- }
- connected_ = true;
-- socket_.async_connect(*resolve_result,
-+ socket_.async_connect(*resolve_result.begin(),
- boost::bind(&AsioStreamReact::connect_handler,
- shared_from_this(),
- handler,
-@@ -201,10 +201,10 @@
- auto resolve_result(resolve_tcp(io_service_.impl().native(), uri));
- if (not socket_.is_open())
- {
-- socket_.open(resolve_result->endpoint().protocol());
-+ socket_.open(resolve_result.begin()->endpoint().protocol());
- set_fd_options(socket_);
- }
-- socket_.connect(resolve_result->endpoint());
-+ socket_.connect(resolve_result.begin()->endpoint());
- connected_ = true;
- prepare_engine(false);
- assign_addresses();
-@@ -870,7 +870,7 @@
- void gu::AsioAcceptorReact::open(const gu::URI& uri) try
- {
- auto resolve_result(resolve_tcp(io_service_.impl().native(), uri));
-- acceptor_.open(resolve_result->endpoint().protocol());
-+ acceptor_.open(resolve_result.begin()->endpoint().protocol());
- set_fd_options(acceptor_);
- }
- catch (const asio::system_error& e)
-@@ -889,12 +889,12 @@
- auto resolve_result(resolve_tcp(io_service_.impl().native(), uri));
- if (not acceptor_.is_open())
- {
-- acceptor_.open(resolve_result->endpoint().protocol());
-+ acceptor_.open(resolve_result.begin()->endpoint().protocol());
- set_fd_options(acceptor_);
- }
-
- acceptor_.set_option(asio::ip::tcp::socket::reuse_address(true));
-- acceptor_.bind(*resolve_result);
-+ acceptor_.bind(*resolve_result.begin());
- acceptor_.listen();
- listening_ = true;
- }
diff --git a/galera.spec b/galera.spec
index 31d8d6d..84d0caf 100644
--- a/galera.spec
+++ b/galera.spec
@@ -2,8 +2,8 @@
ExcludeArch: %{ix86}
Name: galera
-Version: 26.4.27
-Release: 3%{?dist}
+Version: 26.4.29
+Release: 1%{?dist}
Summary: Synchronous multi-master wsrep provider (replication engine)
License: GPL-2.0-only
@@ -15,8 +15,6 @@ URL: https://mariadb.com/docs/galera-cluster
# Furthermore there is a lag (can be days, weeks) between when a new tag is done on GitHub and when MariaDB upstream releases the new version on their web with the new MariaDB server release.
Source0: https://archive.mariadb.org/mariadb-11.8/%{name}-%{version}/src/%{name}-%{version}.tar.gz
-Patch3: asio-1.33-compat.patch
-
BuildRequires: boost-devel check-devel openssl-devel cmake systemd gcc-c++ asio-devel
Requires: nmap-ncat
Requires: procps-ng
@@ -33,7 +31,6 @@ description of Galera replication engine see https://www.galeracluster.com web.
%prep
%setup -q
-%patch -P3 -p1
# Create a sysusers.d config file
cat >galera.sysusers.conf <<EOF
@@ -124,8 +121,7 @@ unlink /etc/systemd/system/garb.service || :
%{_bindir}/garbd
-# PATCH 3:
-# Make sure the wrapper script is executable
+# Upstream installs without execute bit
%attr(755, -, -) %{_bindir}/garb-systemd
%{_mandir}/man8/garbd.8*
diff --git a/sources b/sources
index 5ef5776..2b48a7a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (galera-26.4.27.tar.gz) = 57325891e12a4be34fb3ed2db530debce51ab8ebf33ab423fde129a3bd6e40a2cc36ad67915727a5d8041dee5e0f6b5d7bc29dbcefe4666f80a589289f4543f7
+SHA512 (galera-26.4.29.tar.gz) = d973e006a169fbc3f6c99c218e033aa90abf006c19903255287076d4e55643153a24b5ddf0262f404e79521f5d2a67029cad73aca07d6c3c742804a5b3e5562b
reply other threads:[~2026-11-18 11:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179500283836.1.2950458259401658614.rpms-galera-ec97df9aff0e@fedoraproject.org \
--to=mschorm@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox