The driver should read broadcast_address instead of peer for system.local queries

Description

When "rpc_address" is "0.0.0.0", the driver attempts to read the value from the "peer" column but this column doesn't exist in "system.local". For this table, the "broadcast_address" column should be used instead. If that fails, the "listen_address" should be used.

Environment

None
Fixed

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

Reproduced in

3.16.1

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

C# P-NEXT

Pull Requests

None

Size

None

Priority

Major