From eaae2bf0af5369de62bd88cff652151328ab2883 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Mon, 16 Mar 2026 12:13:48 +0300 Subject: [PATCH] raft: Fix split mutations freeze Commit faa0ee9844 accidentally broke the way split snapshot mutation was frozen -- instead of appending the sub-mutation `m` the commit kept the old variable name of `mut` which in the new code corresponds to "old" non-split mutation Fixes #29051 Signed-off-by: Pavel Emelyanov Closes scylladb/scylladb#29052 (cherry picked from commit f112e42ddd7fa5a0c0b628262885c5b1668996a1) Closes scylladb/scylladb#29214 --- service/storage_service.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/storage_service.cc b/service/storage_service.cc index eb5ed57162..9a41eb402b 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -987,7 +987,7 @@ future<> storage_service::merge_topology_snapshot(raft_snapshot snp) { frozen_muts_to_apply.push_back(co_await freeze_gently(mut)); } else { co_await for_each_split_mutation(std::move(mut), max_size, [&] (mutation m) -> future<> { - frozen_muts_to_apply.push_back(co_await freeze_gently(mut)); + frozen_muts_to_apply.push_back(co_await freeze_gently(m)); }); } }