mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
fix cluster: migration traverse bug (#4279)
Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
51e16b2ceb
commit
d2f479b5da
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue