From d2f479b5da4b698d66ca282104915f0396b6d142 Mon Sep 17 00:00:00 2001 From: adiholden Date: Mon, 9 Dec 2024 13:22:02 +0200 Subject: [PATCH] fix cluster: migration traverse bug (#4279) Signed-off-by: adi_holden --- src/server/journal/streamer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/journal/streamer.cc b/src/server/journal/streamer.cc index bc2657a68..485a97125 100644 --- a/src/server/journal/streamer.cc +++ b/src/server/journal/streamer.cc @@ -209,7 +209,7 @@ void RestoreStreamer::Run() { do { if (fiber_cancelled_) return; - cursor = pt->Traverse(cursor, [&](PrimeTable::bucket_iterator it) { + cursor = pt->TraverseBuckets(cursor, [&](PrimeTable::bucket_iterator it) { if (fiber_cancelled_) // Could be cancelled any time as Traverse may preempt return;