FastRestore:Disable isSchedulable for test
This commit is contained in:
parent
62b9043ff6
commit
7c003bfa70
|
@ -106,6 +106,7 @@ ACTOR Future<Void> isSchedulable(Reference<RestoreRoleData> self, int actorBatch
|
||||||
// Intentionally randomly block actors for low memory reason.
|
// Intentionally randomly block actors for low memory reason.
|
||||||
// memory will be larger than threshold when deterministicRandom()->random01() > 1/2
|
// memory will be larger than threshold when deterministicRandom()->random01() > 1/2
|
||||||
memory = SERVER_KNOBS->FASTRESTORE_MEMORY_THRESHOLD_MB_SOFT * 2 * deterministicRandom()->random01();
|
memory = SERVER_KNOBS->FASTRESTORE_MEMORY_THRESHOLD_MB_SOFT * 2 * deterministicRandom()->random01();
|
||||||
|
memory = 0;
|
||||||
}
|
}
|
||||||
if (memory < SERVER_KNOBS->FASTRESTORE_MEMORY_THRESHOLD_MB_SOFT ||
|
if (memory < SERVER_KNOBS->FASTRESTORE_MEMORY_THRESHOLD_MB_SOFT ||
|
||||||
self->finishedBatch.get() + 1 == actorBatchIndex) {
|
self->finishedBatch.get() + 1 == actorBatchIndex) {
|
||||||
|
|
Loading…
Reference in New Issue