Reconnect attempts persist after downed node removed from peers

Description

After a node goes down, we attempt reconnection as expected. After the metadata is refreshed and the node is removed from the peers table completely, we still attempt reconnection until we've reached the max attempts of the reconnection policy. Instead, once the node is no longer in the peers table we should stop reconnections.

Environment

None

Pull Requests

None

Status

Assignee

James Falcon

Reporter

James Falcon

Fix versions

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Priority

Major
Configure