Should repeat when speedUpSimulation is false

This commit is contained in:
Jingyu Zhou 2023-05-30 10:04:05 -07:00
parent 0674984ab1
commit 43d67d6f98
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ struct BackupRangeTaskFunc : TaskFuncBase {
rangeCount > ((prevAdjacent || nextAdjacent) ? CLIENT_KNOBS->BACKUP_MAP_KEY_UPPER_LIMIT
: CLIENT_KNOBS->BACKUP_MAP_KEY_LOWER_LIMIT) &&
(!g_network->isSimulated() ||
(isBuggifyEnabled(BuggifyType::General) && g_simulator->speedUpSimulation))) {
(isBuggifyEnabled(BuggifyType::General) && !g_simulator->speedUpSimulation))) {
CODE_PROBE(true, "range insert delayed because versionMap is too large");
if (rangeCount > CLIENT_KNOBS->BACKUP_MAP_KEY_UPPER_LIMIT)