From 4ff08decb8a3e22d2dae427b4635b5fe91ccfc90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20J=C4=99drzejczak?= Date: Wed, 7 Aug 2024 17:01:01 +0200 Subject: [PATCH] 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. --- db/virtual_tables.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/virtual_tables.cc b/db/virtual_tables.cc index 93b529262f..e1834171d2 100644 --- a/db/virtual_tables.cc +++ b/db/virtual_tables.cc @@ -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); }