From 82fb6424ec975f3e57595f68136689e1448d2ff4 Mon Sep 17 00:00:00 2001 From: Evan Tschannen Date: Thu, 15 Mar 2018 11:00:44 -0700 Subject: [PATCH] fix: storage recruitment could get stuck in a spin loop --- fdbserver/DataDistribution.actor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fdbserver/DataDistribution.actor.cpp b/fdbserver/DataDistribution.actor.cpp index 4dc6be88bb..1b5ec8e72d 100644 --- a/fdbserver/DataDistribution.actor.cpp +++ b/fdbserver/DataDistribution.actor.cpp @@ -1849,6 +1849,7 @@ ACTOR Future storageRecruiter( DDTeamCollection *self, ReferencerestartRecruiting.onTrigger() ) ) {} } + Void _ = wait( delay(FLOW_KNOBS->PREVENT_FAST_SPIN_DELAY) ); } catch( Error &e ) { if(e.code() != error_code_timed_out) { throw;