Commit Graph

96 Commits

Author SHA1 Message Date
Antoine Tollenaere 25c750934e
ringhash: implement gRFC A76 (#8159) 2025-04-08 15:50:54 +05:30
Doug Fawley a51009d1d7
resolver: convert EndpointMap to use generics (#8189) 2025-03-24 09:37:36 -07:00
Doug Fawley b0d1203846
resolver: create AddressMapV2 with generics to replace AddressMap (#8187) 2025-03-21 13:09:52 -07:00
Arjan Singh Bal eb744dec5d
resolver: Make EndpointMap's Get, Set and Delete operations O(1) (#8179) 2025-03-19 11:22:09 -07:00
Doug Fawley 5668c66bc6
resolver/manual: allow calling UpdateState with an un-Built resolver (#8150) 2025-03-06 13:39:48 -08:00
janardhanvissa b0f5027011
cleanup: replace dial with newclient (#7970) 2025-02-28 13:53:16 +05:30
Zach Reyes 267a09bb5d
xds/internal/xdsclient: Add counter metrics for valid and invalid resource updates (#8038) 2025-02-06 16:04:45 -08:00
janardhanvissa 681334a461
cleanup: replace dial with newclient (#7943) 2024-12-23 11:11:43 -08:00
Zach Reyes e7435d6059
balancer/endpointsharding: Ignore empty endpoints (#7674) 2024-10-28 14:00:14 -07:00
Purnesh Dixit 56df169480
resolver: update ReportError() docstring (#7732) 2024-10-17 22:00:36 +05:30
Arjan Singh Bal 55d820d900
clusterresolver/e2e_test: Avoid making DNS requests (#7561)
* Avoid making a DNS request in aggregated_cluster_test

* Mock DNS resolver
2024-08-29 21:05:17 +05:30
Arvind Bright 2dbbcefef2
resolver/dns: Add docstring to SetMinResolutionInterval (#7217) 2024-05-09 11:48:43 -07:00
Homayoon Alimohammadi 8444ae0e47
resolver/dns: Add SetMinResolutionInterval Option (#6962) 2024-04-05 10:50:58 -07:00
Matt Straathof c8083227ee
chore: expose `NewClient` method to end users (#7010) 2024-03-07 13:52:41 -08:00
Hong Truong f7c5e6a762
DNS resolving with timeout (#6917) 2024-03-05 15:49:11 -08:00
Arvind Bright 90fc697165
xdsclient: use dataplane authority for virtualhost lookup (#6997) 2024-02-28 11:08:09 -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 8645f95509
resolver: remove ClientConn.NewServiceConfig (#6784) 2023-11-13 14:10:32 -08:00
Henrique Vicente 3fe1123b79
resolver: manual resolver crashes if grpc.Dial isn't called before some methods (#6754) 2023-11-07 13:09:43 -08:00
Zach Reyes e14d5831b5
resolver: Add an endpoint map type (#6679) 2023-10-16 16:18:10 -04:00
Easwar Swaminathan 5a6773c42d
xds/resolver: move cluster specifier plugin tests to test only package (#6681) 2023-10-12 10:51:28 -07:00
Easwar Swaminathan 1880bd6ff3
resolver/manual: support restarts, required for channel idleness (#6638) 2023-09-15 10:47:11 -07:00
Easwar Swaminathan b07bf5d036
cdsbalancer: test cleanup part 1/N (#6546) 2023-08-17 10:26:02 -07:00
Philipp Gillé 2821d7fae2
resolver: remove outdated Target examples (#6547) 2023-08-14 09:46:51 -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
Doug Fawley 94df716d94
resolver: State: add Endpoints and deprecate Addresses (#6471) 2023-07-31 09:42:27 -07:00
Doug Fawley 02946a3f37
resolver: remove deprecated AddressType (#6451) 2023-07-17 13:29:21 -07:00
Easwar Swaminathan 8e9c8f8e71
grpc: do not use balancer attributes during address comparison (#6439) 2023-07-11 18:35:39 -07:00
Gina Yeh 11feb0a9af
resolver: delete Target.Scheme and Target.Authority (#6363)
* Delete resolver.Target.Scheme and resolver.Target.Authority

* cleanup - wrap block comments @ 80 columns
2023-07-05 10:47:46 -07:00
Zach Reyes 5e587344ee
xds: Add support for Custom LB Policies (#6224) 2023-05-08 21:29:36 -04:00
Easwar Swaminathan de11139ae6
clusterresolver: improve tests (#6188) 2023-04-26 09:50:03 -07:00
Doug Fawley 6d612a3e67
resolver: update Resolver.Scheme() docstring to mention requirement of lowercase scheme names (#6014) 2023-02-15 08:51:43 -08:00
Fabian Holler 55dfae6e5b
resolver: document handling UpdateState errors by resolvers (#6002)
Extend the Godoc for resolver.ClientConn.UpdateState with a
description of how resolvers should handle returned errors.

The description is based on the explanation of dfawley in
https://github.com/grpc/grpc-go/issues/5048
2023-02-08 17:04:05 -05:00
Kyle J. Burda 3930549b38
resolver: replace resolver.Target.Endpoint field with Endpoint() method (#5852)
Fixes https://github.com/grpc/grpc-go/issues/5796
2023-01-24 12:03:56 -08:00
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
Easwar Swaminathan f14d611253
resolver: minor improvements to AddressMap (#5426) 2022-06-15 14:42:38 -07:00
Easwar Swaminathan a73725f42d
channelz: include channelz identifier in logs (#5192) 2022-02-23 07:30:06 -08:00
Doug Fawley f00baa6c3c
resolver: replace AddressMap.Range with Keys (#4891)
Co-authored-by: Menghan Li <menghanl@google.com>
2021-10-20 15:07:37 -07:00
Doug Fawley 36d87572db
attributes: add Equal method; resolver: add AddressMap and State.BalancerAttributes (#4855) 2021-10-15 10:39:56 -07:00
Easwar Swaminathan aaff9e7ab9
grpc: better RFC 3986 compliant target parsing (#4817) 2021-10-14 14:54:02 -07:00
Menghan Li ebfe3be62a
cluster_resolver: implement resource resolver to resolve EDS and DNS (#4531) 2021-07-12 16:42:02 -07:00
Zach Reyes 1c598a11a4
Move exponential backoff to DNS resolver from resolver.ClientConn (#4270) 2021-04-20 13:20:09 -04:00
Menghan Li 0e8f1cda01
manual resolver: delete GenerateAndRegisterManualResolver (#3960)
Tests are using WithResolver dial option.
2020-10-22 13:14:27 -07:00
Gaurav Gahlot d9063e7af3
standardized experimental warnings (#3917) 2020-10-02 09:11:08 -07:00
Doug Fawley eb827fbfd8
grpclb, dns: pass balancer addresses via resolver.State (#3614) 2020-05-26 15:24:52 -07:00
Doug Fawley 27fd7d000e
balancer/resolver: remove temporary backward-compatibility type aliases (#3309) 2020-01-22 08:59:42 -08:00
Doug Fawley 2cb07fcd90
resolver: rename Option to Options, leaving type aliases for now (#3175) 2019-11-12 15:23:46 -08:00
Doug Fawley 4717e3b570
resolver: add deprecation note to AddressType and its values (#3156) 2019-11-08 10:38:45 -08:00
Doug Fawley f691f3524e
resolver: re-add dns and passthrough packages as references to internal versions (#3162) 2019-11-08 09:53:51 -08:00