Commit Graph

302 Commits

Author SHA1 Message Date
Zach Reyes eb5828bae7
protoc: Change protoc to include generated call option (#6960) 2024-03-21 17:34:19 -04: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 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
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
Zach Reyes 5051eeae53
grpc: Update go mod (#6939) 2024-01-24 19:10:36 -05: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
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 147bd85912
balancer: add a warning for balancer names that contain upper case letters (#6647) 2023-09-25 16:07:05 -07:00
Easwar Swaminathan 3156151aee
grpclb: teach the manual resolver to handle restarts (#6635) 2023-09-18 14:04:53 -07:00
Antoine Tollenaere 1457a96132
balancer/weightedroundrobin: fix ticker leak on update (#6643) 2023-09-18 11:34:50 -07:00
Easwar Swaminathan 94d8074c61
grpclb: some minor cleanups (#6634) 2023-09-15 10:47:59 -07:00
Zach Reyes 1e0d82e9f0
balancer/leastrequest: Cache atomic load and also add concurrent rpc test (#6602) 2023-09-05 16:27:51 -04:00
Huang Chong e498bbc9bd
leastrequest: fix data race in leastrequest picker (#6587) 2023-08-31 14:39:09 -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
Zach Reyes aca07ce97f
xds/internal/xdsclient: Add least request support in xDS (#6517) 2023-08-16 16:12:11 -04: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
Zach Reyes dbbc983c26
balancer/leastrequest: Add least request balancer (#6510) 2023-08-11 18:24:38 -04: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
Doug Fawley 5da2731c58
balancer/weightedtarget: stop forwarding UpdateSubConnState calls (#6525) 2023-08-10 12:06:09 -07:00
Easwar Swaminathan e2741524dd
rls: fix flaky test introduced by #6514 (#6535) 2023-08-10 09:03:37 -07:00
Doug Fawley 61a1f77923
balancer/weightedroundrobin: migrate to StateListener (#6530) 2023-08-09 15:26:45 -07:00
Easwar Swaminathan 67a8e73f82
multiple/test: use stub balancer instead of defining wrapped balancers (#6514) 2023-08-09 09:34:59 -07:00
Doug Fawley e9a4e942b1
base: update base balancer for new APIs (#6503) 2023-08-04 10:27:11 -07:00
Doug Fawley 6c0c69efd5
all: replace RemoveSubConn with Shutdown as much as possible (#6505) 2023-08-04 10:19:51 -07:00
Doug Fawley 7aceafcc52
balancer: add SubConn.Shutdown; deprecate Balancer.RemoveSubConn (#6493) 2023-08-04 08:10:48 -07:00
Doug Fawley 4fe8d3d3f9
balancer: fix tests not properly updating subconn states (#6501) 2023-08-04 08:08:13 -07:00
Doug Fawley c6354049d4
balancer: add StateListener to NewSubConnOptions for SubConn state updates (#6481) 2023-07-31 09:42:41 -07:00
Doug Fawley 94df716d94
resolver: State: add Endpoints and deprecate Addresses (#6471) 2023-07-31 09:42:27 -07:00
Doug Fawley 41d1232703
resolver/weighted_round_robin: remove experimental suffix from name (#6477) 2023-07-26 08:55:14 -07:00
Easwar Swaminathan d524b40946
multiple: update dependencies after 1.57 branch cut (#6452) 2023-07-18 14:09:46 -07:00
Doug Fawley 02946a3f37
resolver: remove deprecated AddressType (#6451) 2023-07-17 13:29:21 -07:00
Ikko Eltociear Ashimine 89790ea90c
grpclb: fix typo (#6356) 2023-06-08 00:02:21 -04:00
Doug Fawley 2ac1aaedb8
weightedroundrobin: prefer application_utilization to cpu_utilization (#6358) 2023-06-07 13:49:09 -07:00
Doug Fawley 1db474c85c
weightedroundrobin: fix duration format in lb config (#6271) 2023-05-11 14:56:53 -04:00
Doug Fawley 523dcddf9a
weightedroundrobin: fix test race accessing timeNow (#6269) 2023-05-11 09:37:17 -07:00
Zach Reyes 1536887cc6
interop/xds: Add Custom LB needed for interop test (#6262) 2023-05-11 12:29:32 -04:00
Zach Reyes 5e587344ee
xds: Add support for Custom LB Policies (#6224) 2023-05-08 21:29:36 -04:00
Doug Fawley 5c4bee51c2
balancer/weightedroundrobin: add load balancing policy (A58) (#6241) 2023-05-08 10:01:08 -07: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
Easwar Swaminathan 415ccdf154
go.mod: update all dependencies after 1.54 branch cut (#6132) 2023-03-28 16:03:41 -07:00
Arvind Bright 8ba23be961
cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release (#6064) 2023-03-01 09:58:20 -08:00
Borja Lazaro Toralles 3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names (#5886) 2023-02-01 13:20:35 -08: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 894816c487
grpclb: rename `grpclbstate` package back to `state` (#5962)
Fixes https://github.com/grpc/grpc-go/issues/5928
2023-01-24 10:19:54 -08:00
Mikhail Mazurskiy 379a2f676c
*: add missing colon to errorf messages to improve readability (#5911) 2023-01-17 16:11:47 -08:00
Easwar Swaminathan 9228cffc1a
rls: fix a data race involving the LRU cache (#5925) 2023-01-12 16:02:10 -08:00