Skip to content

Commit 0be9369

Browse files
committed
Revert "fix: allow geoip sort to raise exceptions if failing to load geoip db."
This reverts commit c96fcda.
1 parent 90643ff commit 0be9369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rucio/core/replica_sorter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def sort_replicas(
301301

302302
# all sorts must be stable to preserve the priority (the Python standard sorting functions always are stable)
303303
if selection == 'geoip':
304-
replicas = sort_geoip(dictreplica, client_location, ignore_error=config_get_bool('core', 'geoip_ignore_error', raise_exception=False, default=False))
304+
replicas = sort_geoip(dictreplica, client_location, ignore_error=config_get_bool('core', 'geoip_ignore_error', raise_exception=False, default=True))
305305
elif selection == 'custom_table':
306306
replicas = sort_custom(dictreplica, client_location)
307307
elif selection == 'random':

0 commit comments

Comments
 (0)