Commit Graph

502 Commits

Author SHA1 Message Date
vinothkumarr227 ce35fd41c5
stats/opentelemetry: add trace event for name resolution delay (#8074) 2025-04-04 09:55:45 +05:30
Matthieu MOREL c75fc8edec
chore: enable early-return and unnecessary-stmt and useless-break from revive (#8100) 2025-02-20 14:10:09 -08:00
Doug Fawley 91eb6aafd3
client: improve documentation of target strings (#8078) 2025-02-14 11:18:07 -08:00
Doug Fawley 3409a56e78
cleanup: rename fields for clarity (#8043) 2025-01-28 07:55:05 -08:00
eshitachandwani 2fd426d091
transport,grpc: Integrate delegating resolver and introduce dial options for target host resolution (#7881)
* Change proxy behaviour
2025-01-24 12:10:11 +05:30
Arjan Singh Bal 74738cf4aa
grpc: Remove health check func dial option used for testing (#7820) 2024-11-08 11:27:35 +05:30
Doug Fawley 70e8931a0e
transport: remove useless trampoline function (#7801) 2024-11-01 14:43:55 -07:00
luxcgo 6cd00c9326
clientconn: remove redundant check (#7700) 2024-10-16 12:51:15 -07:00
eshitachandwani b850ea533f
transport : wait for goroutines to exit before transport closes (#7666) 2024-10-10 15:34:25 +05:30
Arjan Singh Bal 00b9e140ce
pickfirst: New pick first policy for dualstack (#7498) 2024-10-10 09:33:47 +05:30
Doug Fawley ca4865d6dd
balancer: automatically stop producers on subchannel state changes (#7663) 2024-09-30 08:42:42 -07:00
Doug Fawley 8ea3460aca
balancer: fix logic to prevent producer streams before READY is reported (#7651) 2024-09-20 09:17:34 -07:00
Nathan Baulch 3b626a7b52
*: fix more typos (#7619) 2024-09-16 10:58:27 -07:00
Doug Fawley 0a5b8f7c9b
balancer: disallow producer streams until SubConn has reported READY (#7523) 2024-08-21 15:36:02 -07:00
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Zach Reyes 84a4ef1623
internal/stats: Add metrics recorder list and usage in ClientConn (#7428) 2024-07-25 15:47:23 -04:00
Abhishek Ranjan 40f399880f
client: Stabilize WaitForStateChange API (#7425) 2024-07-24 10:05:56 -07:00
Brad Town 9c5b31d74b
xds: use locality from the connected address for load reporting (#7378) 2024-07-10 12:51:11 -07:00
Arjan Singh Bal 45d44a736e
grpc: hold ac.mu while calling resetTransport to prevent concurrent connection attempts (#7390) 2024-07-09 13:27:27 -07:00
Zach Reyes c8568c99b8
grpc: Readd pick first name (#7336) 2024-06-21 16:23:32 -04:00
Ian Moore 03da31acc6
client: implement maxAttempts for retryPolicy (#7229) 2024-05-24 11:20:00 -07:00
Zach Reyes 1db6590e40
grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
Zach Reyes aea78bdf9d
grpc: Add perTargetDialOption type and global list (#7234) 2024-05-21 12:51:17 -04:00
Doug Fawley a87e923c4b
channelz: fix missing Target on SubChannel type (#7189) 2024-05-03 10:50:09 -07:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Brad Town 006e2bad13
client: Drop two calls to `pretty.ToJSON` and move code outside of lock (#7132) 2024-04-17 07:26:52 -07:00
Doug Fawley ec257b4e1c
channelz: pass parent pointer instead of parent ID to RegisterSubChannel (#7101) 2024-04-08 10:01:16 -07:00
Robert Pająk 59be823a2d
grpc: Deprecate WithBlock, WithReturnConnectionError, FailOnNonTempDialError (#7097) 2024-04-05 10:35:45 -07:00
Doug Fawley faf9964afe
gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo if needed (#7035) 2024-03-19 11:35:17 -07:00
Doug Fawley 800a8e02b5
channelz: re-add state for subchannels (#7046) 2024-03-19 10:53:53 -07:00
Doug Fawley dadbbfa286
channelz: re-add target and state (#7042) 2024-03-18 15:31:19 -07:00
Doug Fawley 55cd7a68b3
channelz: major cleanup / reorganization (#6969) 2024-03-15 11:13:53 -07:00
yeahyear 4f43d2e91d
chore: remove repetitive words (#7036) 2024-03-13 09:43:37 -07:00
Doug Fawley 7c377708dc
grpc: clean up doc strings and some code around Dial vs NewClient (#7029) 2024-03-07 16:26:12 -08:00
Matt Straathof c8083227ee
chore: expose `NewClient` method to end users (#7010) 2024-03-07 13:52:41 -08:00
Arvind Bright 90fc697165
xdsclient: use dataplane authority for virtualhost lookup (#6997) 2024-02-28 11:08:09 -08:00
Arvind Bright c267d5bbeb
grpc: add clientconn.CanonicalTarget() to return the canonical target string (#7006) 2024-02-28 11:07:49 -08:00
Zach Reyes 3ae77e6528
grpc: Canonicalize string returned by ClientConn.Target() and resolver.Address.String() (#6923) 2024-02-15 15:26:14 -05:00
Aditya Sood 0866ce06ba
grpc: optional interface to provide channel authority (#6752) 2023-12-05 12:10:02 -08:00
Doug Fawley 5d7453e661
client: rework resolver and balancer wrappers to avoid deadlock (#6804) 2023-12-05 10:56:48 -08:00
Doug Fawley 914ca65947
client: further streamlining of Dial (#6802) 2023-11-15 14:52:11 -08:00
Doug Fawley 232054a883
client: remove deprecated WithServiceConfig DialOption (#6800) 2023-11-15 11:17:10 -08:00
Doug Fawley ce3b538586
client: simplify initialization and cleanup a bit (#6798) 2023-11-15 10:47:19 -08:00
Easwar Swaminathan dd4c0adafb
internal/testutils: add a new test type that implements resolver.ClientConn (#6668) 2023-10-12 10:09:38 -07:00
Easwar Swaminathan 1466283cc6
internal/idle: add a test that invokes ClientConn methods concurrently (#6659) 2023-09-29 14:23:45 -07:00
Easwar Swaminathan 2d1bb21e4d
grpc: ensure transports are closed when the channel enters IDLE (#6620) 2023-09-12 13:53:19 -07:00
Doug Fawley 81b9df233e
idle: move idleness manager to separate package and ~13s of tests into it (#6566) 2023-08-23 12:50:42 -07:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Nikita Mochalov e40da6613d
clientconn: release lock when returning from enterIdleMode() (#6538) 2023-08-14 08:28:24 -07:00
Doug Fawley 879faf6bb2
test: update client state subscriber test to be not flaky and more stressful about rapid updates (#6512) 2023-08-10 15:12:06 -07:00