fix: low latency tests need 4 machines per datacenter to support triple replication after 1 machine has failed
This commit is contained in:
parent
529bd34cf9
commit
4677789b38
|
@ -865,7 +865,10 @@ void SimulationConfig::generateNormalConfig(int minimumReplication) {
|
|||
set_config("regions=" + json_spirit::write_string(json_spirit::mValue(regionArr), json_spirit::Output_options::none));
|
||||
}
|
||||
|
||||
if(generateFearless) {
|
||||
if(generateFearless && minimumReplication > 1) {
|
||||
//low latency tests in fearless configurations need 4 machines per datacenter (3 for triple replication, 1 that is down during failures).
|
||||
machine_count = 16;
|
||||
} else if(generateFearless) {
|
||||
machine_count = 12;
|
||||
} else if(db.tLogPolicy && db.tLogPolicy->info() == "data_hall^2 x zoneid^2 x 1") {
|
||||
machine_count = 9;
|
||||
|
|
Loading…
Reference in New Issue