From 178c60a8e5df9585f3ebd52fdc5977be10837164 Mon Sep 17 00:00:00 2001 From: Antonio Andelic Date: Tue, 27 Feb 2024 09:53:49 +0100 Subject: [PATCH] Fix removing from source disk --- src/Coordination/Changelog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Coordination/Changelog.cpp b/src/Coordination/Changelog.cpp index 469244605e08..d531b1266efc 100644 --- a/src/Coordination/Changelog.cpp +++ b/src/Coordination/Changelog.cpp @@ -58,9 +58,10 @@ void moveChangelogBetweenDisks( const std::string & path_to, const KeeperContextPtr & keeper_context) { + auto path_from = description->path; moveFileBetweenDisks( disk_from, - description->path, + path_from, disk_to, path_to, [&]