You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When proxy servers are used the distance must be computed towards
the inner hostname, because the outer one is the proxy address and
will be the same for all replicas.
rcarpa
added a commit
to rcarpa/rucio
that referenced
this issue
Jul 4, 2023
When proxy servers are used the distance must be computed towards
the inner hostname, because the outer one is the proxy address and
will be the same for all replicas.
When proxy servers are used the distance must be computed towards
the inner hostname, because the outer one is the proxy address and
will be the same for all replicas.
The root proxy is embedded early into the replica during list_replicas:
rucio/lib/rucio/core/replica.py
Line 845 in df8b01b
At the same time, geoip sorting, uses the pfn hostname to compute the distance from client to the replica.
rucio/lib/rucio/core/replica_sorter.py
Line 241 in 5e91192
As a consequence, the replica sorting uses the distance to the proxy (which is the same for all replicas) for sorting. Basically not doing anything.
The text was updated successfully, but these errors were encountered: