eb827fbfd8
grpclb, dns: pass balancer addresses via resolver.State ( #3614 )
2020-05-26 15:24:52 -07:00
27fd7d000e
balancer/resolver: remove temporary backward-compatibility type aliases ( #3309 )
2020-01-22 08:59:42 -08:00
2cb07fcd90
resolver: rename Option to Options, leaving type aliases for now ( #3175 )
2019-11-12 15:23:46 -08:00
4717e3b570
resolver: add deprecation note to AddressType and its values ( #3156 )
2019-11-08 10:38:45 -08:00
0aa47d32da
resolver: introduce attributes package and use it for Address and State ( #3151 )
2019-11-06 16:53:23 -08:00
88bf070301
resolver: Add new fields to resolver.BuildOption struct to support dialing a remote name resolver ( #3098 )
...
These fields will be used by resolver implementations which need to talk
to a remote name resolver.
2019-11-04 08:41:14 -08:00
2e7984e2c0
clientconn: override authority with address's ServerName, if set ( #3073 )
2019-10-08 13:59:02 -07:00
ed563a02ea
resolver: add State fields to support error handling ( #2951 )
2019-10-04 12:59:43 -07:00
d40a995895
balancer/resolver: add loadBalancingConfig and pre-parsing support ( #2732 )
2019-05-30 09:12:58 -07:00
4748a040c8
balancer: provide parsed target through BuildOptions ( #2803 )
2019-05-09 13:27:41 -07:00
3910b873d3
bar: add ability to update resolver state atomically and pass directly to the balancer ( #2693 )
2019-03-22 10:48:55 -07:00
c8fcd323ef
resolver: document that SetDefaultScheme should be called at init time ( #2217 )
...
fixes #2216
2018-07-16 11:19:04 -07:00
854695bef0
client: introduce WithDisableServiceConfig DialOption ( #2010 )
2018-05-08 10:28:26 -07:00
c4a6e7589b
documentation: mention Register functions should be call at init time ( #1975 )
2018-04-12 15:11:04 -07:00
f2620c3803
resolver: keep full unparsed target string if scheme in parsed target is not registered ( #1943 )
2018-03-27 13:58:27 -07:00
37346e3181
Revert "Add WithResolverUserOptions for custom resolver build options" ( #1839 )
...
This reverts commit ff1be3fcc57773d500921fad479d82ec171e2358.
2018-02-05 12:52:35 -08:00
ff1be3fcc5
Add WithResolverUserOptions for custom resolver build options ( #1711 )
2017-12-06 15:54:01 -08:00
61c67402b9
Add comments to ClientConn/SubConn interfaces to indicate new methods may be added ( #1680 )
2017-12-01 13:25:57 -08:00
00383af260
Fix misleading default resolver scheme comments ( #1703 )
...
Since a recent change, the default is `passthrough`, not `dns`.
2017-11-30 13:47:14 -08:00
1e1a47f0f2
Re-resolve target when one connection becomes TransientFailure ( #1679 )
...
This allows ClientConn to get more up-to-date addresses from resolver.
ClientConn compares new addresses with the cached ones. So if resolver returns the same set of addresses, ClientConn will not notify balancer about it.
Also moved the initialization of resolver and balancer to avoid race. Balancer will only be started when ClientConn gets resolved addresses from balancer.
2017-11-28 13:16:53 -08:00
2ef021f78d
New grpclb implementation ( #1558 )
...
The new grpclb supports fallback to backends if remote balancer is unavailable
2017-11-27 11:16:26 -08:00
94f1917696
Make passthrouth resolver the default instead of dns ( #1606 )
2017-10-20 12:03:44 -07:00
a353537ff5
Register and use default balancers and resolvers ( #1551 )
2017-10-19 11:32:06 -07:00
3f10311ccf
Make resolver Build() take a target struct ( #1567 )
2017-10-09 16:33:58 -07:00
4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
8233e124e4
Add new Resolver and Balancer APIs (gRFC L9) ( #1408 )
...
- Add package balancer and resolver.
- Change ClientConn internals to new APIs and adds a wrapper for v1 balancer.
2017-08-31 10:59:09 -07:00