Commit Graph

5253 Commits

Author SHA1 Message Date
Muhammed Jishin Jamal TCP 0d0e530848
grpc: export MethodHandler #7794 (#7796) 2024-11-11 13:35:04 +05:30
Abhishek Ranjan a3a8657078
clusterimpl: update picker synchronously on config update (#7652) 2024-11-08 11:30:52 +05:30
Arjan Singh Bal 74738cf4aa
grpc: Remove health check func dial option used for testing (#7820) 2024-11-08 11:27:35 +05:30
Easwar Swaminathan 5b40f07f8e
xdsclient: fix flaky test TestServeAndCloseDoNotRace (#7814) 2024-11-07 14:00:14 -08:00
Easwar Swaminathan b3393d95a7
xdsclient: support fallback within an authority (#7701) 2024-11-06 11:52:02 -08:00
Arjan Singh Bal 18d218d14d
pickfirst: Interleave IPv6 and IPv4 addresses for happy eyeballs (#7742) 2024-11-06 11:38:54 +05:30
hanut19 e9ac44cb8c
cleanup: replace grpc.Dial with grpc.NewClient in grpclb test (#7789) 2024-11-05 14:47:26 -08:00
Easwar Swaminathan 0ec8fd84fd
xdsclient/ads: reset the pending bit of ADS stream flow control at the end of the onDone method (#7806) 2024-11-05 10:14:21 -08:00
Arjan Singh Bal 43ee17261c
balancer: Enforce embedding the SubConn interface in implementations (#7758) 2024-11-05 23:22:26 +05:30
Easwar Swaminathan 2de6df9c6f
xds/resolver: fix flaky test TestResolverRemovedWithRPCs with a workaround (#7804) 2024-11-04 16:26:59 -08:00
Doug Fawley 2a18bfcb16
transport: refactor to split ClientStream from ServerStream from common Stream functionality (#7802) 2024-11-04 13:42:38 -08:00
Doug Fawley 70e8931a0e
transport: remove useless trampoline function (#7801) 2024-11-01 14:43:55 -07:00
Easwar Swaminathan ef0f6177dd
xdsclient: start using the newly added transport and channel functionalities (#7773) 2024-11-01 08:49:58 -07:00
Zach Reyes d66fc3a1ef
balancer/endpointsharding: Call ExitIdle() on child if child reports IDLE (#7782) 2024-10-29 13:59:48 -07:00
Easwar Swaminathan 2e3f547049
ringhash: fix a couple of flakes in e2e style tests (#7784) 2024-10-29 13:00:10 -07:00
Marco Ferrer 52d7f6af60
multiple: switch to math/rand/v2 (#7711)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2024-10-29 10:43:58 -07:00
Abhishek Ranjan 6fd86d35ba
Disable buffer_pooling tests (#7762)
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-10-29 21:39:04 +05:30
Evan Jones 091d20bfe2
server: Only call FromIncomingContext with stats handlers (#7781) 2024-10-29 09:07:25 -07:00
Easwar Swaminathan 192ee33f6f
multiple: add verbosity checks to logs that use pretty.JSON (#7785) 2024-10-28 14:58:42 -07:00
Zach Reyes e7435d6059
balancer/endpointsharding: Ignore empty endpoints (#7674) 2024-10-28 14:00:14 -07:00
Zach Reyes 4084b140b7
stats/opentelemetry: Remove OpenTelemetry module and add RLS Metrics e2e tests (#7759) 2024-10-28 13:47:49 -07:00
janardhanvissa ada6787961
cleanup: switching to stubserver in tests instead of testservice implementation (#7708) 2024-10-28 19:51:57 +05:30
Luwei Ge cb329375b1
credentials: Support ALTSPerRPCCreds in DefaultCredentialsOptions (#7775)
* Replace the gRFC pull request with the permanent link.

* add ALTSPerRPCCreds in DefaultCredentialsOptions to support channel aware RPC creds

* go vet

* address comment
2024-10-25 16:28:17 -07:00
Arjan Singh Bal a0cbb520be
github: add Go 1.23 testing and make staticcheck work locally with go1.23 (#7751) 2024-10-25 16:00:14 -07:00
Easwar Swaminathan 67b9ebf4fc
xdsclient: make sending requests more deterministic (#7774) 2024-10-25 15:24:34 -07:00
Doug Fawley 94e1b29a1c
vet: add dependency checks (#7766) 2024-10-25 13:42:20 -07:00
Easwar Swaminathan a82315c00f
testutils: change ListenerWrapper to push the most recently accepted connection (#7772) 2024-10-25 11:33:47 -07:00
Easwar Swaminathan e0a730c111
clusterresolver: fix a comment in a test (#7776) 2024-10-25 09:00:38 -07:00
Paul Chesnais f8e5d8f704
mem: use slice capacity instead of length, to determine whether to pool buffers or directly allocate them (#7702)
* Address #7631 by correctly pooling large-capacity buffers

As the issue states, `mem.NewBuffer` would not pool buffers with a length below
the pooling threshold but whose capacity is actually larger than the pooling
threshold. This can lead to buffers being leaked.

---------

Co-authored-by: Purnesh Dixit <purneshdixit@google.com>
Co-authored-by: Easwar Swaminathan <easwars@google.com>
2024-10-24 22:44:00 +05:30
Easwar Swaminathan c4c8b11305
xds/resolver: add a way to specify the xDS client to use for testing purposes (#7771) 2024-10-24 10:02:09 -07:00
Easwar Swaminathan 8212cf0376
xdsclient: implementation of the xdsChannel (#7757) 2024-10-23 09:59:37 -07:00
Arjan Singh Bal 4bb0170ac6
status: Fix status incompatibility introduced by #6919 and move non-regeneratable proto code into /testdata (#7724) 2024-10-22 23:16:16 +05:30
Arjan Singh Bal 80937a99d5
credentials: Apply defaults to TLS configs provided through GetConfigForClient (#7754) 2024-10-22 22:58:16 +05:30
Arjan Singh Bal c538c31150
vet: Don't use GOROOT to set PATH if GOROOT is unset (#7761) 2024-10-22 22:34:38 +05:30
apolcyn 14e2a206ca
resolver/google-c2p: introduce SetUniverseDomain API (#7719) 2024-10-21 11:31:44 -07:00
Purnesh Dixit 98959d9a49
deps: update dependencies for all modules (#7755)
* Update gRPC-Go's dependency versions on master

* update protos

* disabled redefines-builtin-id lint rule
2024-10-18 21:07:37 +05:30
Purnesh Dixit 56df169480
resolver: update ReportError() docstring (#7732) 2024-10-17 22:00:36 +05:30
Easwar Swaminathan 830135e6c5
xdsclient: new Transport interface and ADS stream implementation (#7721) 2024-10-16 20:56:53 -07:00
Easwar Swaminathan d2ded4bcaa
xdsclient: new Transport interface and LRS stream implementation (#7717) 2024-10-16 20:40:33 -07:00
luxcgo ec10e73f02
transport: refactor `trInFlow.onData` to eliminate redundant logic (#7734) 2024-10-16 13:09:35 -07:00
luxcgo 6cd00c9326
clientconn: remove redundant check (#7700) 2024-10-16 12:51:15 -07:00
Arjan Singh Bal 569c8eb0af
vet: Use go1.22 instead of go1.21 for tidy and staticcheck(#7747) 2024-10-16 23:00:57 +05:30
Purnesh Dixit 4544b8a4cf
Change version to 1.69.0-dev (#7746) 2024-10-16 11:14:01 +05:30
Zach Reyes 54841eff8c
stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID" environment variable, rather than parsing from bootstrap file (#7740) 2024-10-15 10:51:45 -07:00
Easwar Swaminathan ad81c20503
pickfirstleaf: minor simplification to reconcileSubConnsLocked method (#7731) 2024-10-14 07:57:45 -07:00
eshitachandwani b850ea533f
transport : wait for goroutines to exit before transport closes (#7666) 2024-10-10 15:34:25 +05:30
Arjan Singh Bal 00b9e140ce
pickfirst: New pick first policy for dualstack (#7498) 2024-10-10 09:33:47 +05:30
Easwar Swaminathan 18a4eacc06
testutils: add couple of log statements to the restartable listener type (#7716) 2024-10-09 16:57:53 -07:00
Easwar Swaminathan fdc2ec2c84
xdsclient: deflake TestADS_ResourcesAreRequestedAfterStreamRestart (#7720) 2024-10-09 16:57:29 -07:00
eshitachandwani 4115c218d0
xds: return all ServerConfig dial options together (#7718) 2024-10-09 14:47:49 -07:00