Source:
<code>private static void checkAndSetReplicationFactor( Cassandra.Client client, KsDef ks, boolean freshInstance, CassandraKeyValueServiceConfig config) throws TException { if (freshInstance) { Set<String> dcs = sanityCheckDatacenters(client, config); ks.setStrategy_options(Maps2.createConstantValueMap(dcs, String.valueOf(config.replicationFactor()))); return; } final Set<String> dcs; if (CassandraConstants.SIMPLE_STRATEGY.equals(ks.getStrategy_class())) { int currentRf = Integer.parseInt(ks.getStrategy_options().get( CassandraConstants.REPLICATION_FACTOR_OPTION)); String errorMessage = "This cassandra cluster is running using the simple partitioning strategy." + " This partitioner is not rack aware and is not intended for use on prod." + " This will have to be fixed by manually configuring to the network partitioner" + " and running the appropriate repairs." + " Contact the AtlasDB team to perform these steps."; if (currentRf != 1) { <START> logErrorOrThrow(errorMessage, config.safetyDisabled() || config.ignoreBadNodeTopologyChecks()); <END> } dcs = sanityCheckDatacenters(client, config); if (dcs.size() > 1) { logErrorOrThrow(errorMessage, config.safetyDisabled() || config.ignoreBadDatacenterConfigurationChecks()); } if (!(config.safetyDisabled() || config.ignoreBadDatacenterConfigurationChecks())) { ks.setStrategy_class(CassandraConstants.NETWORK_STRATEGY); ks.setStrategy_options(ImmutableMap.of(dcs.iterator().next(), "1")); } } else { dcs = sanityCheckDatacenters(client, config); } sanityCheckReplicationFactor(ks, config, dcs); }</code><technical_language>This feels more closer ignorePartitionerChecks</technical_language>

Target:
private static void checkAndSetReplicationFactor( Cassandra.Client client, KsDef ks, boolean freshInstance, CassandraKeyValueServiceConfig config) throws TException { if (freshInstance) { Set<String> dcs = sanityCheckDatacenters(client, config); ks.setStrategy_options(Maps2.createConstantValueMap(dcs, String.valueOf(config.replicationFactor()))); return; } final Set<String> dcs; if (CassandraConstants.SIMPLE_STRATEGY.equals(ks.getStrategy_class())) { int currentRf = Integer.parseInt(ks.getStrategy_options().get( CassandraConstants.REPLICATION_FACTOR_OPTION)); String errorMessage = "This cassandra cluster is running using the simple partitioning strategy." + " This partitioner is not rack aware and is not intended for use on prod." + " This will have to be fixed by manually configuring to the network partitioner" + " and running the appropriate repairs; talking to support first is recommended. " + "If you're running in some sort of environment where nodes have no known correlated " + "failure patterns, you can set the 'ignoreNodeTopologyChecks' KVS config option."; if (currentRf != 1) { logErrorOrThrow(errorMessage, config.ignoreNodeTopologyChecks()); } dcs = sanityCheckDatacenters(client, config); if (dcs.size() > 1) { logErrorOrThrow(errorMessage, config.ignoreNodeTopologyChecks()); } if (!config.ignoreNodeTopologyChecks()) { ks.setStrategy_class(CassandraConstants.NETWORK_STRATEGY); ks.setStrategy_options(ImmutableMap.of(dcs.iterator().next(), "1")); } } else { dcs = sanityCheckDatacenters(client, config); } sanityCheckReplicationFactor(ks, config, dcs); }