16 Commits

Author SHA1 Message Date
ef51864f48 grpclb: improve grpclb tests (#5826)
Fixes https://github.com/grpc/grpc-go/issues/4392
2022-12-01 10:52:58 -08:00
689d061d46 Cleanup usages of resolver.Target's Scheme and Authority (#5761) 2022-11-09 23:06:01 -08:00
9c668aeab8 all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
c7ea734087 dns: fix flaky TestRateLimitedResolve (#4387)
* Rewrote TestRateLimitedResolve in dns resolver test to get rid of flakiness.
2021-05-07 08:28:34 -04:00
1c598a11a4 Move exponential backoff to DNS resolver from resolver.ClientConn (#4270) 2021-04-20 13:20:09 -04:00
eb827fbfd8 grpclb, dns: pass balancer addresses via resolver.State (#3614) 2020-05-26 15:24:52 -07:00
b91517cd56 dns: ignore TXT errors unless GRPC_GO_IGNORE_TXT_ERRORS=false (#3299) 2020-01-07 13:08:22 -08:00
fcf817f67c dns: report errors from A record lookups instead of zero addresses (#3258) 2019-12-19 08:53:07 -08:00
f324900496 dns: fix timing-based test to be more reliable (#3269)
Also, changed the test to make it run in less time and perform more iterations.
2019-12-18 12:46:31 -08:00
6f8ce09297 dns: reapply "dns: stop polling for updates; use UpdateState API" (#3228) 2019-12-05 08:08:29 -08:00
9dc72d1df0 Revert "dns: stop polling for updates; use UpdateState API" (#3213)
This reverts commit e5e980f2766388fc243cc4cf20c59b9c13affa8c.
2019-11-26 16:07:43 -08:00
e5e980f276 dns: stop polling for updates; use UpdateState API (#3165) 2019-11-22 15:48:45 -08:00
cb47f381a7 dns: do not call NewServiceConfig when lookups are disabled (#3201) 2019-11-22 13:38:04 -08:00
2cb07fcd90 resolver: rename Option to Options, leaving type aliases for now (#3175) 2019-11-12 15:23:46 -08:00
460b1d2ced dns: disable SRV record lookups unless grpclb is imported (#3149) 2019-11-11 10:12:40 -08:00
c0909e91a5 resolver: move dns and passthrough to internal (#3116)
Nobody should directly need to reference these packages.

This is technically a breaking change. However:

- Package dns was exporting a NewBuilder method. This should never have been necessary to use, but if so, it can be replaced by importing the "grpc" package and then using resolver.Get("dns").

- Package passthrough was not exporting any symbols and there was never a need to even blank-import it.

After as much searching as possible, it appears nobody in the open source community is referencing either of these packages.
2019-10-22 13:01:54 -07:00