Commit Graph

324 Commits

Author SHA1 Message Date
Zach Reyes 54b48f7e46
balancer/weightedroundrobin: Add recording point for endpoint weight not yet usable and add metrics tests (#7466) 2024-08-09 20:04:05 -04:00
Zach Reyes 7b9e012c54
balancer/rls: Add picker metrics (#7484) 2024-08-08 20:23:46 -04:00
Zach Reyes 4a26a49408
balancer/leastrequest: Add verbosity check around build log (#7467) 2024-08-01 19:02:14 -04:00
Connor Hindley 1013847d13
cmd/protoc-gen-go-grpc: fix typo pancis -> panics (#7456) 2024-07-31 09:15:08 -07:00
Doug Fawley ec9dff77b1
cmd/protoc-gen-go-grpc: update version to 1.5.1 (#7452) 2024-07-29 10:04:12 -07:00
Zach Reyes 3eb01450ff
balancer/weightedroundrobin: Add emissions of metrics through metrics registry (#7439) 2024-07-26 18:28:58 -04:00
Arjan Singh Bal bc03420be1
cmd/protoc-gen-go-grpc: update version for release 2024-07-26 21:02:21 +05:30
Zach Reyes 84a4ef1623
internal/stats: Add metrics recorder list and usage in ClientConn (#7428) 2024-07-25 15:47:23 -04:00
Doug Fawley 9671c4a8c5
cmd/protoc-gen-go-grpc: test the embedded struct at registration time for proper usage (#7438) 2024-07-24 14:52:45 -07:00
infovivek2020 e7d88223a7
protoc-gen-go-grpc: add period to end of generated comment (#7392) 2024-07-12 08:59:09 -07:00
Arvind Bright eff3e67875
*.pb.go: regenerate (#7402) 2024-07-10 14:50:26 -07:00
Brad Town 9c5b31d74b
xds: use locality from the connected address for load reporting (#7378) 2024-07-10 12:51:11 -07:00
Mike Kruskal 98e5deebae
cmd/protoc-gen-go-grpc: enable edition 2023 support (#7351) 2024-06-26 10:34:11 -07:00
Arvind Bright 1958fcbe2c
cmd/protoc-gen-go-grpc: update version for release (#7294) 2024-05-31 13:41:25 -07:00
Arvind Bright 8bf2b3ee6e
grpcrand: delete all of grpcrand and call the rand package directly (#7283) 2024-05-31 11:32:53 -07:00
Arvind Bright 58cfe27883
deps: update dependencies for all modules (#7274) 2024-05-29 09:40:18 -07:00
Zach Reyes 1db6590e40
grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
Aaron Gable bb9882e6ae
Add an optional implementation of streams using generics (#7057) 2024-05-03 10:51:39 -07:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Elisha Silas 09e6fddbcd
Update docs and examples and tests to use NewClient instead of Dial (#7068)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-04-19 10:55:23 -07:00
Zach Reyes 431436d66b
examples: Add custom load balancer example (#6691) 2024-04-17 13:04:30 -04:00
Zach Reyes ba1bf9e7e0
deps: update dependencies for all modules (#7061) 2024-03-27 14:42:11 -04:00
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