fix: allow disk errors to cancel the actor before recruiting logs
This commit is contained in:
parent
134b5d6f65
commit
a5c2a8ee8a
|
@ -2019,6 +2019,9 @@ ACTOR Future<Void> tLog( IKeyValueStore* persistentData, IDiskQueue* persistentQ
|
|||
Void _ = wait( checkEmptyQueue(&self) && checkRecovered(&self) );
|
||||
}
|
||||
|
||||
//Disk errors need a chance to kill this actor.
|
||||
Void _ = wait(delay(0.0));
|
||||
|
||||
if(recovered.canBeSet()) recovered.send(Void());
|
||||
|
||||
self.sharedActors.send( cleanupPeekTrackers(&self) );
|
||||
|
|
Loading…
Reference in New Issue