gossip: don't resolve addresses under lock #95349
Labels
A-kv-gossip
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Similarly to #70038, in 21.2 we can end up attempting to resolve a DNS address while holding the gossip mutex:
cockroach/pkg/gossip/client.go
Lines 265 to 268 in 45740de
We don't even use the result of this lookup. We should remove it.
Jira issue: CRDB-23469
The text was updated successfully, but these errors were encountered: