diff --git a/db/hints/host_filter.cc b/db/hints/host_filter.cc index 2bbdaa438b..2f6eaac2ce 100644 --- a/db/hints/host_filter.cc +++ b/db/hints/host_filter.cc @@ -33,7 +33,7 @@ bool host_filter::can_hint_for(const locator::topology& topo, gms::inet_address case enabled_kind::enabled_for_all: return true; case enabled_kind::enabled_selectively: - return _dcs.contains(topo.get_datacenter(ep)); + return topo.has_endpoint(ep, locator::topology::pending::yes) && _dcs.contains(topo.get_datacenter(ep)); case enabled_kind::disabled_for_all: return false; }