diff --git a/fdbserver/storageserver.actor.cpp b/fdbserver/storageserver.actor.cpp index dc9aef6d1f..5f0939b833 100644 --- a/fdbserver/storageserver.actor.cpp +++ b/fdbserver/storageserver.actor.cpp @@ -3220,7 +3220,10 @@ ACTOR Future getKeyValuesStreamQ(StorageServer* data, GetKeyValuesStreamRe throw transaction_too_old(); } - state int byteLimit = (BUGGIFY && g_simulator.tssMode == ISimulator::TSSMode::Disabled) + // Even if TSS mode is Disabled, this may be the second test in a restarting test where the first run + // had it enabled. + state int byteLimit = (BUGGIFY && g_simulator.tssMode == ISimulator::TSSMode::Disabled && + !data->isTss() && !data->isSSWithTSSPair()) ? 1 : CLIENT_KNOBS->REPLY_BYTE_LIMIT; GetKeyValuesReply _r =