Arvind Bright
8320224ff0
.*: revive from unused_parameters ( #7577 )
2024-08-30 10:41:30 -07:00
Arvind Bright
845f62caf4
stats/otel: upgrade grpc version that contains the experimental/stats package ( #7545 )
2024-08-29 14:34:13 -07:00
Arjan Singh Bal
55d820d900
clusterresolver/e2e_test: Avoid making DNS requests ( #7561 )
...
* Avoid making a DNS request in aggregated_cluster_test
* Mock DNS resolver
2024-08-29 21:05:17 +05:30
janardhanvissa
52961f77b0
grpc: add docs for generic stream interfaces ( #7470 )
...
* Adding Inline comments for stream interfaces in stream_interfaces.go
* Updating the Inline comments for stream interface in detail
* Removing Inline comments for parent interfaces(ClientStream,ServerStream)
* Updating the description of stream interfaces in stream_interfaces.go file
* Updated the description as per the comments
* Updating the description as per the comments addressed
* Updating the description as per the comments addressed
* Reverting generated code line
* Removing extra space in generated code line
* Updated the stream interfaces description as per the documentation and comments
* Moving error and end of stream to interface docstring
* dummy commit for re-trigger
* Moved bidi handler line to interface docstring, updated the send in server stream and moved error lines to separate line
* 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"
* Formatting comments and updating the docstring
* Formatting comments
* Updated the description by adding newline before the sentence.
* updating file for format description
* Doc updates
* Remove leading spaces
* Add comment to explain how to close streams from Servers
---------
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-08-29 11:02:05 +05:30
Gregory Cooke
005b092ca3
examples/advancedtls: example code for different security configurations for grpc-go using `advancedtls` ( #7474 )
...
Add examples of advanced tls usage
2024-08-26 17:30:18 -07:00
Arjan Singh Bal
0b6f354315
xdsclient: Populate total_issued_requests count in LRS load reports ( #7544 )
...
* Populate isssued count in LRS load report
* Test success, error and issued counts
* Make pass/faiil fractions unequal
2024-08-27 02:09:57 +05:30
Arjan Singh Bal
c535946889
grpc: Fix flaky picker_wrapper tests ( #7560 )
...
* Wait for go routines to finish before cancelling the context
* improve error messages
2024-08-27 00:18:44 +05:30
Abhishek Ranjan
9feed00eee
balancer/wrr: prefer calling Equal() method of time.Time ( #7529 )
2024-08-26 10:35:54 -07:00
bytetigers
a8e6e11cf0
.*: Use `strings.ReplaceAll(.....)` ( #7554 )
2024-08-26 10:09:35 -07:00
Arjan Singh Bal
6d976887d4
xds/xdsclient: Fix flaky test TestLRSClient ( #7559 )
2024-08-26 22:16:55 +05:30
Doug Fawley
cfd14baa82
encoding: delete v1 proto codec and use one map for registry ( #7557 )
2024-08-23 16:26:07 -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
Arjan Singh Bal
e4b09f111d
Remove trailing whitespace in testing.yml ( #7551 )
2024-08-22 23:02:59 +05:30
Doug Fawley
0a5b8f7c9b
balancer: disallow producer streams until SubConn has reported READY ( #7523 )
2024-08-21 15:36:02 -07:00
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
Menghan Li
1e2bb717e0
doc: update keepalive ClientParameters doc about doubling the interval upon GOAWAY ( #7469 )
2024-08-20 10:10:37 -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
Arjan Singh Bal
b45fc413ca
Change version to 1.67.0-dev ( #7520 )
2024-08-16 23:05:38 +05:30
Abhishek Ranjan
63853fd5d2
rls: update picker synchronously on configuration update ( #7412 )
2024-08-16 10:00:19 -07:00
Easwar Swaminathan
86135c37f3
csds: unskip e2e test ( #7502 )
2024-08-15 12:48:46 -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
Zach Reyes
7ec3fd2860
balancer/rls: Fix RLS Cache metrics ( #7511 )
2024-08-14 17:55:11 -04: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
murongshaozong
3cb33421c5
.*: fix comments ( #7504 )
2024-08-13 16:41:53 -07:00
Doug Fawley
eece43bb2b
latency: don't wrap when all the latencies are zero ( #7506 )
2024-08-13 14:57:19 -07:00
Ricardo Fernández
366decfd50
transport/grpchttp2: add http2.Framer bridge ( #7453 )
2024-08-13 14:35:29 -07:00
Easwar Swaminathan
5c4da090bf
grpc: fix a bug introduced in #7461 ( #7505 )
2024-08-13 14:34:05 -07:00
Paul Chesnais
10085621a4
benchmark: wire in new gzip compressor ( #7486 )
2024-08-13 14:19:45 -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
Zach Reyes
7b9e012c54
balancer/rls: Add picker metrics ( #7484 )
2024-08-08 20:23:46 -04:00
Easwar Swaminathan
3ee837cc72
*.pb.go: regenerate protos ( #7493 )
2024-08-08 16:33:41 -07: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
Gayathri625
6d0aaaec1d
grpc: make client report `Internal` status when server response contains unsupported encoding ( #7461 )
2024-08-06 10:57:21 -07:00
Easwar Swaminathan
338595ca57
balancergroup: remove mentions of locality from comments ( #7476 )
2024-08-06 10:50:12 -07:00
CharlesFeng
c8716e591a
mem: fix comment typo ( #7482 )
2024-08-06 08:53:14 -07:00
Purnesh Dixit
e524655bec
tools: Add github.com/mgechev/revive ( #7472 )
...
* Add github.com/mgechev/revive
* only print the linting issues
* remove redirection to file
* print the revive output
* default formatter to grep easily
* exclude unused-parameter
* plain formatter for excluding only unused-parameter
2024-08-02 21:39:53 +05:30
Zach Reyes
4a26a49408
balancer/leastrequest: Add verbosity check around build log ( #7467 )
2024-08-01 19:02:14 -04:00