Commit Graph

685 Commits

Author SHA1 Message Date
Arjan Singh Bal 6d976887d4
xds/xdsclient: Fix flaky test TestLRSClient (#7559) 2024-08-26 22:16:55 +05:30
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
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Easwar Swaminathan ced812e328
xds: implement ADS stream flow control mechanism (#7458) 2024-08-12 07:32:53 -07:00
Zach Reyes 1feeaecf24
stats: Add optional locality label in cluster_impl picker (#7434) 2024-07-24 20:06:57 -04:00
Antoine Tollenaere 4ed81800b0
ringhash: more e2e tests from c-core (#7334) 2024-07-17 10:35:48 -07:00
Arjan Singh Bal 700ca74d01
xds/balancer/priority: Unlock mutex before returning (#7417) 2024-07-15 08:45:20 -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
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
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
RyuRyu 8c80220523
grpclog: remove Debugf method to avoid unnecessary evaluation (#7330) 2024-06-24 08:24:47 -07:00
Abhishek Ranjan a0311cdb9c
golint fix: context.Context should be the first parameter of a function (#7338) 2024-06-21 07:03:45 -07:00
Easwar Swaminathan f1b7f4132e
xds/bootstrap: add testing support to generate config (#7326) 2024-06-21 07:01:24 -07:00
Purnesh Dixit e37c6e869e
fix testclient type in ringhash_balancer_test checkRPCSendOK (#7324) 2024-06-13 09:23:24 -07:00
Antoine Tollenaere 4dd7f552b8
ringhash: port e2e tests from c-core (#7271) 2024-06-11 15:23:38 -07:00
Zach Reyes e2e7a51601
xds/internal/xdsclient: Emit unknown for CSM Labels if not present in CDS (#7309) 2024-06-10 13:29:17 -04:00
Easwar Swaminathan dfcabe08c6
xds: cleanup bootstrap processing functionality (#7299) 2024-06-06 15:09:39 -07:00
Easwar Swaminathan 7e5898e7c5
xds: unify xDS client creation APIs meant for testing (#7268) 2024-06-03 15:32:58 -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 33faea8c2a
ringhash: fix normalizeWeights (#7156) 2024-05-29 16:50:05 -07:00
Zach Reyes 0756c0d67e
stats: Various CSM Observability bug fixes (#7278) 2024-05-29 19:23:32 -04:00
Zach Reyes 1db6590e40
grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
Easwar Swaminathan c822adf26b
balancergroup: add a `ParseConfig` API and remove the `UpdateBuilder` API (#7232) 2024-05-22 11:16:22 -07:00
Easwar Swaminathan a75dfa68c6
xds: change the DumpResources API to return proto message containing the resource dump (#7240) 2024-05-22 11:04:29 -07:00
Zach Reyes 0a0abfadb7
stats/opentelemetry: Add CSM Plugin Option (#7205) 2024-05-21 19:23:44 -04:00
Brad Town 6b413c8351
xds: Surround two `Infof` calls that use `pretty.ToJSON` with `V(2)` checks (#7216) 2024-05-09 12:44:18 -07:00
Easwar Swaminathan 5d24ee2bd1
xds: store server config for LRS server in xdsresource.ClusterUpdate (#7191)
* xds: support LRS server config

* switch to the new bootstrap package in internal/xds
2024-05-08 09:35:42 -07:00
Zach Reyes 9199290ff8
xds: Move bootstrap config to internal/xds (#7182) 2024-05-03 16:51:11 -04:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Brad Town c7c8aa8f53
xds/internal: Replace calls to `Debugf` with `V(2)` checks and `Infof` (#7180) 2024-05-02 16:45:39 -07:00
alingse 5a24fc1808
xds/internal/xdsclient/xdsresource: Preallocate VirtualHost slice correctly (#7157) 2024-04-23 12:05:15 -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
Marco Ferrer 81d3f06aab
xds/internal/xdsclient/xdslbregistry: remove unused call to type url (#7130) 2024-04-17 20:52:21 -04:00
Zach Reyes b37cd8133a
xds: Process telemetry labels from CDS in xDS Balancers (#7116) 2024-04-15 19:01:54 -04:00
Doug Fawley adf976b7c4
xds: remove -v when running xds e2e tests (#7120) 2024-04-11 09:56:07 -07:00
Zach Reyes 308dbc4466
xds/internal/xdsclient: Process string metadata in CDS for com.google.csm.telemetry_labels (#7085) 2024-04-09 16:40:52 -04:00
Clement 57e4391d0e
googlec2p: use the bootstrap parsing code to generate parsed bootstrap config instead of handcrafting it (#7040) 2024-03-27 14:37:13 -04:00
Doug Fawley 55cd7a68b3
channelz: major cleanup / reorganization (#6969) 2024-03-15 11:13:53 -07:00
Daniel Liu a1033b1f44
xds: add LRS named metrics support (#7027) 2024-03-15 11:05:17 -07:00
yeahyear 4f43d2e91d
chore: remove repetitive words (#7036) 2024-03-13 09:43:37 -07:00
Matt Straathof c8083227ee
chore: expose `NewClient` method to end users (#7010) 2024-03-07 13:52:41 -08:00
Doug Fawley 55341d7fde
xdsclient: correct logic used to suppress empty ADS requests on new streams (#7026) 2024-03-07 09:15:51 -08:00
Arvind Bright 90fc697165
xdsclient: use dataplane authority for virtualhost lookup (#6997) 2024-02-28 11:08:09 -08:00
Clément Jean 51f9cc0f35
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6961) 2024-02-28 09:58:48 -08:00
Matthieu MOREL eb880d5882
replace github.com/cncf/udpa/go by github.com/cncf/xds/go (#7001) 2024-02-27 10:48:40 -08:00
Zach Reyes f135e982e6
xds/internal/xdsclient: Add comments for exported types (#6972) 2024-02-08 19:03:30 -05:00