Skip to content

Commit

Permalink
more missing rpc_address places
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelineIO committed Jul 18, 2023
1 parent 87e09ca commit c0a765b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/xandra/cluster/control_connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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) <-
Expand Down Expand Up @@ -719,6 +719,7 @@ defmodule Xandra.Cluster.ControlConnection do
"host_id",
"rack",
"release_version",
"rpc_address",
"schema_version",
"tokens"
]
Expand Down

0 comments on commit c0a765b

Please sign in to comment.