mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 03:56:42 +00:00
locator: topology: drop no longer used ip based overloads
This commit is contained in:
@@ -323,11 +323,6 @@ public:
|
||||
const sstring& get_datacenter(host_id id) const {
|
||||
return get_location(id).dc;
|
||||
}
|
||||
// Get datacenter of a node identified by endpoint
|
||||
// The specified node must exist.
|
||||
const sstring& get_datacenter(inet_address ep) const {
|
||||
return get_location(ep).dc;
|
||||
}
|
||||
|
||||
// Get rack of this node
|
||||
const sstring& get_rack() const noexcept {
|
||||
@@ -338,11 +333,6 @@ public:
|
||||
const sstring& get_rack(host_id id) const {
|
||||
return get_location(id).rack;
|
||||
}
|
||||
// Get rack of a node identified by endpoint
|
||||
// The specified node must exist.
|
||||
const sstring& get_rack(inet_address ep) const {
|
||||
return get_location(ep).rack;
|
||||
}
|
||||
|
||||
auto get_local_dc_filter() const noexcept {
|
||||
return [ this, local_dc = get_datacenter() ] (auto ep) {
|
||||
|
||||
Reference in New Issue
Block a user