cockroachdb / cockroachdb/cockroach

rpc: switch to context-aware DialTCP after Go 1.26 upgrade

Open
#160,813 1 comment 1 reaction 0 assignees View on GitHub
C-autosolve C-performance o-perf-efficiency T-db-server
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Go 1.26 [introduces](https://antonz.org/go-1-26/#net-dialer-context) context-aware `DialTCP` and alike methods that should be more efficient than `net.Dialer.DialContext` that we are using. We should switch after we upgrade to Go 1.26.

Jira issue: CRDB-58526

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.