Keep simulated disk write delay high until speedUp is set.
This commit is contained in:
parent
de236894cb
commit
db610355cf
|
@ -197,7 +197,7 @@ private:
|
|||
this->file = file;
|
||||
this->filename = filename;
|
||||
this->diskParameters = diskParameters;
|
||||
maxWriteDelay = deterministicRandom()->random01() * FLOW_KNOBS->NON_DURABLE_MAX_WRITE_DELAY;
|
||||
maxWriteDelay = FLOW_KNOBS->NON_DURABLE_MAX_WRITE_DELAY;
|
||||
hasBeenSynced = false;
|
||||
|
||||
killMode = (KillMode)deterministicRandom()->randomInt(1, 3);
|
||||
|
|
|
@ -135,7 +135,7 @@ void FlowKnobs::initialize(bool randomize, bool isSimulated) {
|
|||
init( DISABLE_POSIX_KERNEL_AIO, 0 );
|
||||
|
||||
//AsyncFileNonDurable
|
||||
init( NON_DURABLE_MAX_WRITE_DELAY, 0.0001 ); if( randomize && BUGGIFY ) NON_DURABLE_MAX_WRITE_DELAY = 5.0;
|
||||
init( NON_DURABLE_MAX_WRITE_DELAY, 5.0 );
|
||||
init( MAX_PRIOR_MODIFICATION_DELAY, 1.0 ); if( randomize && BUGGIFY ) MAX_PRIOR_MODIFICATION_DELAY = 10.0;
|
||||
|
||||
//GenericActors
|
||||
|
|
Loading…
Reference in New Issue