From c0a765babc5daa4f5e3943b0b417462a634317a1 Mon Sep 17 00:00:00 2001 From: Jacqueline McKinney Date: Tue, 18 Jul 2023 15:39:41 -0500 Subject: [PATCH] more missing rpc_address places --- lib/xandra/cluster/control_connection.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/xandra/cluster/control_connection.ex b/lib/xandra/cluster/control_connection.ex index 3d5f08f9..8ab85db3 100644 --- a/lib/xandra/cluster/control_connection.ex +++ b/lib/xandra/cluster/control_connection.ex @@ -232,7 +232,7 @@ defmodule Xandra.Cluster.ControlConnection do %__MODULE__{} = data ) do select_peers_query = - "SELECT peer, data_center, host_id, rack, release_version, schema_version, tokens FROM system.peers" + "SELECT peer, data_center, host_id, rack, release_version, rpc_address, schema_version, tokens FROM system.peers" with {:ok, peers} <- query(data, connected_node, select_peers_query), host when not is_nil(host) <- @@ -719,6 +719,7 @@ defmodule Xandra.Cluster.ControlConnection do "host_id", "rack", "release_version", + "rpc_address", "schema_version", "tokens" ]