cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

rpc: wire drpc client interceptors in dialer

Open shaikzakiriitm opened this issue 5 months ago • 1 comments
trafficstars

As part of this change, we use clientConn object to wire in client interceptors. clientConn has a supplier which provides drpc.Conn connection from a drpc connection pool. The pooled connection object previously returned, encapsulated within closeEntirePoolConn is now replaced with drpcclient.ClientConn so that client interceptors are applied to it.

Epic: CRDB-51616 Fixes: #148430 Part of: CRDB-49359

Release note: None

shaikzakiriitm avatar Jun 18 '25 04:06 shaikzakiriitm

This change is Reviewable

cockroach-teamcity avatar Jun 18 '25 04:06 cockroach-teamcity

Don't forget to autosquash and rebase before submitting the PR.

cthumuluru-crdb avatar Jun 23 '25 09:06 cthumuluru-crdb

bors r=cthumuluru-crdb

shaikzakiriitm avatar Jun 23 '25 12:06 shaikzakiriitm