Arvind Bright
8320224ff0
.*: revive from unused_parameters ( #7577 )
2024-08-30 10:41:30 -07:00
bytetigers
a8e6e11cf0
.*: Use `strings.ReplaceAll(.....)` ( #7554 )
2024-08-26 10:09:35 -07:00
janardhanvissa
3d95421758
Fix revive identified linter issues: var-declaration, indent-error-flow, increment-decrement, superfluous-else ( #7528 )
...
* Fixed linter issues for superfluous-else, increment-decrement, indent-error-flow, var-declaration
* Reverting context-as-argument in server.go
* Revert "Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else"
* Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else
* dummy commit for re-trigger
2024-08-23 17:00:29 +05:30
Paul Chesnais
9ab8b62505
Implement new Codec that uses `mem.BufferSlice` instead of `[]byte` ( #7356 )
2024-08-21 14:11:39 -07:00
Easwar Swaminathan
7e12068baf
bootstrap: add `String` method to ServerConfigs type ( #7537 )
2024-08-20 14:08:51 -07:00
Antoine Tollenaere
ee5cbce343
ringhash: fix bug where ring hash can be stuck in transient failure despite having available endpoints ( #7364 )
2024-08-20 10:39:14 -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
Arjan Singh Bal
90caeb34c8
deps: update dependencies for all modules ( #7531 )
...
* Bump dependencies after release branch cut
* Regenerate protos
2024-08-19 22:54:01 +05:30
Doug Fawley
f8d98a477c
rbac: fix usage of AuthInfo ( #7522 )
2024-08-16 15:03:58 -07:00
Abhishek Ranjan
4e29cc6e31
transport: add timeout for writing GOAWAY on http2Client.Close() ( #7371 )
2024-08-16 14:57:44 -07:00
Ricardo Fernández
5d07b636a7
transport: change `*http2Client` to interface `ClientTransport` ( #7512 )
2024-08-15 09:09:27 -07:00
Easwar Swaminathan
c98235b960
grpclog: refactor to move implementation to grpclog/internal ( #7465 )
2024-08-14 16:54:38 -07:00
Easwar Swaminathan
6d7f07c99f
test/tools: update staticcheck version to latest ( #7509 )
2024-08-14 14:32:55 -07: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
Ricardo Fernández
366decfd50
transport/grpchttp2: add http2.Framer bridge ( #7453 )
2024-08-13 14:35:29 -07:00
Easwar Swaminathan
ced812e328
xds: implement ADS stream flow control mechanism ( #7458 )
2024-08-12 07:32:53 -07:00
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
CharlesFeng
f9b96b853c
internal/transport: Unlock mutex before panic ( #7488 )
2024-08-08 11:32:52 -07:00
Easwar Swaminathan
d00dd8f80a
xds: env var protection for xds fallback ( #7483 )
2024-08-07 14:27:29 -07:00
Oleg Guba
ffaa81e286
transport/bufWriter: fast-fail on error returned from flushKeepBuffer() ( #7394 )
2024-08-07 12:07:18 -07:00
Ricardo Fernández
1490d60f47
transport/grpchttp2: revert #7477 usage of mem package ( #7485 )
2024-08-07 10:46:54 -07:00
Ricardo Fernández
e6b6318ad9
transport/grpchttp2: change types to include `mem` package ( #7477 )
2024-08-06 11:30:52 -07:00
Easwar Swaminathan
338595ca57
balancergroup: remove mentions of locality from comments ( #7476 )
2024-08-06 10:50:12 -07:00
Paul Chesnais
887d908264
mem: introduce `mem` package to facilitate memory reuse ( #7432 )
2024-08-01 14:14:30 -07:00
Ricardo Fernández
6fa393c579
transport/grpchttp2: add doc to methods and values ( #7445 )
2024-07-31 12:55:04 -07:00
Connor Hindley
1013847d13
cmd/protoc-gen-go-grpc: fix typo pancis -> panics ( #7456 )
2024-07-31 09:15:08 -07:00
Arjan Singh Bal
0b33bfe786
transport: Discard the buffer when empty after http connect handshake ( #7424 )
...
* Discard the buffer when empty after http connect handshake
* configure the proxy to wait for server hello
* Extract test args to a struct
* Change deadline sets
2024-07-30 21:30:34 +05:30
Doug Fawley
ec9dff77b1
cmd/protoc-gen-go-grpc: update version to 1.5.1 ( #7452 )
2024-07-29 10:04:12 -07: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
Ricardo Fernández
0231b0d942
transport/grpcframer: create grpcframer package ( #7397 )
2024-07-22 17:10:02 -07:00
Zach Reyes
2bcbcab9fb
stats/opentelemetry: Add usage of metrics registry ( #7410 )
2024-07-19 18:52:41 -04:00
Antoine Tollenaere
4ed81800b0
ringhash: more e2e tests from c-core ( #7334 )
2024-07-17 10:35:48 -07:00
Easwar Swaminathan
d27ddb5eb5
internal/grpcsync: support two ways to schedule a callback with the serializer ( #7408 )
2024-07-12 14:47:41 -07:00
infovivek2020
e7d88223a7
protoc-gen-go-grpc: add period to end of generated comment ( #7392 )
2024-07-12 08:59:09 -07:00
Easwar Swaminathan
e54f441abe
xds: make fallback bootstrap configuration per-process ( #7401 )
2024-07-10 13:32:13 -07:00
Brad Town
9c5b31d74b
xds: use locality from the connected address for load reporting ( #7378 )
2024-07-10 12:51:11 -07:00
hasson82
bdd707e642
scripts: add linter rule for using context.WithTimeout on tests ( #7342 )
2024-07-03 19:22:54 -04:00
Easwar Swaminathan
4e9b5968af
xds: add support for multiple xDS clients, for fallback ( #7347 )
2024-07-02 15:27:03 -07:00
Arjan Singh Bal
f199062ef3
xds: Add a test for incorrect load reporting when using pickfirst with servers in multiple localities ( #7357 )
2024-06-28 10:31:02 -07:00
Mike Kruskal
98e5deebae
cmd/protoc-gen-go-grpc: enable edition 2023 support ( #7351 )
2024-06-26 10:34:11 -07:00
RyuRyu
8c80220523
grpclog: remove Debugf method to avoid unnecessary evaluation ( #7330 )
2024-06-24 08:24:47 -07:00
Easwar Swaminathan
f1b7f4132e
xds/bootstrap: add testing support to generate config ( #7326 )
2024-06-21 07:01:24 -07:00
Easwar Swaminathan
c04b085930
internal/transport: minor cleanup of controlBuffer code ( #7319 )
2024-06-17 07:41:12 -07:00
Antoine Tollenaere
4dd7f552b8
ringhash: port e2e tests from c-core ( #7271 )
2024-06-11 15:23:38 -07:00
Easwar Swaminathan
dfcabe08c6
xds: cleanup bootstrap processing functionality ( #7299 )
2024-06-06 15:09:39 -07:00
Purnesh Dixit
5a289d9bcc
dns: fix constant 30s backoff for re-resolution ( #7262 )
2024-06-06 11:04:23 -07:00
Easwar Swaminathan
7e5898e7c5
xds: unify xDS client creation APIs meant for testing ( #7268 )
2024-06-03 15:32:58 -07:00