fix: storage recruitment could get stuck in a spin loop
This commit is contained in:
parent
65b532658f
commit
82fb6424ec
|
@ -1849,6 +1849,7 @@ ACTOR Future<Void> storageRecruiter( DDTeamCollection *self, Reference<AsyncVar<
|
|||
}
|
||||
when( Void _ = wait( self->restartRecruiting.onTrigger() ) ) {}
|
||||
}
|
||||
Void _ = wait( delay(FLOW_KNOBS->PREVENT_FAST_SPIN_DELAY) );
|
||||
} catch( Error &e ) {
|
||||
if(e.code() != error_code_timed_out) {
|
||||
throw;
|
||||
|
|
Loading…
Reference in New Issue