virtual_tables: cluster_status_table: execute: set dc regardless of the token ownership
If a node is in `locator::topology`, then it has a location. We remove the token ownership condition to make the table more descriptive.
This commit is contained in:
@@ -93,7 +93,7 @@ public:
|
||||
set_cell(cr, "host_id", hostid->uuid());
|
||||
}
|
||||
|
||||
if (hostid && tm.is_normal_token_owner(*hostid)) {
|
||||
if (hostid) {
|
||||
sstring dc = tm.get_topology().get_location(endpoint).dc;
|
||||
set_cell(cr, "dc", dc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user