Commit Graph

101 Commits

Author SHA1 Message Date
Nathan Baulch 3b626a7b52
*: fix more typos (#7619) 2024-09-16 10:58:27 -07:00
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Jonathan Halterman 6a5a283b69
Use builtin min and max functions (#7478)
* Use builtin min and max functions

Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.

* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Abhishek Ranjan 63853fd5d2
rls: update picker synchronously on configuration update (#7412) 2024-08-16 10:00:19 -07:00
Zach Reyes 7ec3fd2860
balancer/rls: Fix RLS Cache metrics (#7511) 2024-08-14 17:55:11 -04:00
Zach Reyes 9706bf8035
balancer/rls: Add cache metrics (#7495) 2024-08-14 15:25:44 -04:00
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Zach Reyes 7b9e012c54
balancer/rls: Add picker metrics (#7484) 2024-08-08 20:23:46 -04:00
Arvind Bright 8bf2b3ee6e
grpcrand: delete all of grpcrand and call the rand package directly (#7283) 2024-05-31 11:32:53 -07:00
Zach Reyes 1db6590e40
grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Doug Fawley faf9964afe
gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo if needed (#7035) 2024-03-19 11:35:17 -07:00
Clément Jean 02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6919)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Doug Fawley 8b17a4dbc3
vet: various cleanups (#6780) 2023-11-10 13:01:59 -08:00
Zach Reyes b046ccaf08
balancer/rls: Fix RLS failure mode by treating response with no targets as an error (#6735) 2023-10-18 17:26:06 -04: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
Easwar Swaminathan bb4106700c
balancergroup: do not cache closed sub-balancers by default (#6523) 2023-08-10 12:34:56 -07:00
Doug Fawley 490069967e
balancer/rls, xds/wrrlocality: stop forwarding UpdateSubConnState calls (#6532) 2023-08-10 12:06:54 -07:00
Easwar Swaminathan e2741524dd
rls: fix flaky test introduced by #6514 (#6535) 2023-08-10 09:03:37 -07:00
Easwar Swaminathan 67a8e73f82
multiple/test: use stub balancer instead of defining wrapped balancers (#6514) 2023-08-09 09:34:59 -07:00
Zach Reyes 1536887cc6
interop/xds: Add Custom LB needed for interop test (#6262) 2023-05-11 12:29:32 -04:00
Ernest Nguyen Hung 7dfd71831d
internal/buffer: add Close method to the Unbounded buffer type (#6161) 2023-04-18 16:53:59 -07:00
Easwar Swaminathan bfb57b8b49
testing: delete internal copy of test service proto, and use canonical one (#6164) 2023-04-05 17:12:57 -07: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
Easwar Swaminathan 9228cffc1a
rls: fix a data race involving the LRU cache (#5925) 2023-01-12 16:02:10 -08:00
Theodore Salvo f2fbb0e07e
Deprecate use of `ioutil` package (#5906)
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Easwar Swaminathan 94a65dca40
rls: deflake tests (#5877)
Fixes https://github.com/grpc/grpc-go/issues/5845
2022-12-21 15:11:59 -08:00
Easwar Swaminathan 5ff7dfcd79
rls: propagate headers received in RLS response to backends (#5883) 2022-12-21 13:18:52 -08:00
Zach Reyes 001d234e1f
rls: Fix regex in rls test (#5834) 2022-12-01 21:09:18 -05:00
Easwar Swaminathan 736197138d
rls: use a regex for the expected error string (#5827) 2022-12-01 11:59:34 -08:00
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
Easwar Swaminathan 9c3e589d3e
rls: delegate pick to child policy as long as it is not in TransientFailure (#5656) 2022-09-15 15:55:46 -07:00
Easwar Swaminathan 60a3a7e969
cleanup: fixes for issues surfaced by vet (#5617) 2022-09-02 14:09:10 -07:00
Abirdcfly c351f37ddc
chore: remove duplicate word in comments (#5616) 2022-08-30 14:01:37 -07:00
Easwar Swaminathan c14e29e609
rls: suppress picker updates from children when handling config updates (#5539) 2022-08-01 16:10:21 -07:00
Easwar Swaminathan 34e4fc3bb5
rls: use UNAVAILABLE instead of status from control plane (#5400) 2022-06-06 16:07:02 -07:00
Zach Reyes e583b196ce
xds: Add RLS in xDS e2e test (#5281) 2022-04-04 14:38:37 -07:00
Easwar Swaminathan 4635bf287f
make the RLS LB policy name available in the internal package (#5259) 2022-03-21 15:47:31 -07:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Easwar Swaminathan 980790869b
rls: support `routeLookupChannelServiceConfig` field (#5176) 2022-01-31 12:49:45 -08:00
Easwar Swaminathan 593ff8d017
rls: service field in RLS request must not contain slashes (#5168) 2022-01-27 15:03:30 -08:00
Easwar Swaminathan 449f1b222a
grpclb: rename LB policy config field to `serviceName` (#5166) 2022-01-25 10:53:10 -08:00
Easwar Swaminathan fa62572afe
rls: make the data cache purge ticker a field in rlsBalancer (#5154) 2022-01-20 09:21:16 -08:00
Easwar Swaminathan f93e8e6737
rls: return status error from server interceptor in test (#5153) 2022-01-19 16:48:55 -08:00
Easwar Swaminathan 61a352e94e
rls: move RLS LB policy implementation out of internal (#5143) 2022-01-19 13:52:45 -08:00
Easwar Swaminathan aad573d86b
rls: LB policy implementation (#4992) 2022-01-18 08:45:23 -08:00
Easwar Swaminathan b3d19efee6
rls: move the data cache implementation into the rls package (#5060) 2021-12-22 13:50:56 -08:00
Easwar Swaminathan 956c594855
rls: minor config processing changes (#5061) 2021-12-21 13:32:22 -08:00
Zach Reyes 029b822735
xds: Add RLS Cluster Specifier Plugin (#5004)
* xds: Add RLS Cluster Specifier Plugin
2021-12-15 17:58:03 -05:00