Skip to content

Commit 1872c81

Browse files
author
alexsa
committed
Default to empty DC failover preferred remoted DCs
1 parent 7982f41 commit 1872c81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/java/com/datastax/oss/driver/api/core/config/OptionsMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ protected static void fillWithDriverDefaults(OptionsMap map) {
382382
map.put(TypedDriverOption.LOAD_BALANCING_DC_FAILOVER_ALLOW_FOR_LOCAL_CONSISTENCY_LEVELS, false);
383383
map.put(TypedDriverOption.METRICS_GENERATE_AGGREGABLE_HISTOGRAMS, true);
384384
map.put(
385-
TypedDriverOption.LOAD_BALANCING_DC_FAILOVER_PREFERRED_REMOTE_DCS, ImmutableList.of(""));
385+
TypedDriverOption.LOAD_BALANCING_DC_FAILOVER_PREFERRED_REMOTE_DCS, ImmutableList.of());
386386
}
387387

388388
@Immutable

core/src/main/resources/reference.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ datastax-java-driver {
580580
# Required: no
581581
# Modifiable at runtime: no
582582
# Overridable in a profile: no
583-
preferred-remote-dcs = [""]
583+
preferred-remote-dcs = []
584584
}
585585
}
586586

0 commit comments

Comments
 (0)