Commit Graph

44 Commits

Author SHA1 Message Date
Zach Reyes 267a09bb5d
xds/internal/xdsclient: Add counter metrics for valid and invalid resource updates (#8038) 2025-02-06 16:04:45 -08:00
Ashish Srivastava e4a0dfd705
grpcsync : Remove OnceFunc (#8049) 2025-01-30 09:25:20 +05:30
Easwar Swaminathan 3f762759a7
xdsclient: stop caching xdsChannels for potential reuse, after all references are released (#7924) 2024-12-13 14:14:05 -08:00
Purnesh Dixit 44a5eb9231
xdsclient: fix new watcher to get both old good update and nack error (if exist) from the cache (#7851) 2024-11-22 01:02:44 +05:30
Purnesh Dixit 87f0254f11
xdsclient: fix new watcher hang when registering for removed resource (#7853) 2024-11-22 00:45:02 +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
Easwar Swaminathan ef0f6177dd
xdsclient: start using the newly added transport and channel functionalities (#7773) 2024-11-01 08:49:58 -07:00
Easwar Swaminathan 8212cf0376
xdsclient: implementation of the xdsChannel (#7757) 2024-10-23 09:59:37 -07:00
Easwar Swaminathan 98d15504f6
xdsclient: switch more transport tests to e2e style (2/N) (#7693) 2024-10-07 15:46:06 -07:00
Easwar Swaminathan 9afb2321c4
xdsclient: invoke watch callback when new update matches cached one, but previous update was NACKed (1/N) (#7692) 2024-10-07 13:01:27 -07:00
Easwar Swaminathan 92111dc366
xds: keep ads flow control local to xdsclient/transport package (#7578) 2024-09-03 11:21:57 -07:00
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
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 4e9b5968af
xds: add support for multiple xDS clients, for fallback (#7347) 2024-07-02 15:27:03 -07:00
RyuRyu 8c80220523
grpclog: remove Debugf method to avoid unnecessary evaluation (#7330) 2024-06-24 08:24:47 -07: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
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
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
Zach Reyes ddd377f198
xds/server: fix RDS handling for non-inline route configs (#6915) 2024-01-16 19:03:18 -05:00
Easwar Swaminathan 28ac6efee6
xdsclient: make watch timer a no-op if authority is closed (#6502) 2023-08-04 10:19:26 -07:00
Anirudh Ramachandra b0a8b1b9c1
Use string instead of enum for xds resource type (#6163) 2023-04-04 17:25:40 -07:00
Arvind Bright ea0a038347
xds/xdsclient: ignore resource deletion as per gRFC A53 (#6035) 2023-04-04 10:11:54 -07:00
my4 e97991991c
internal/grpcsync: move CallbackSerializer from xdsclient/internal to here (#6153) 2023-03-31 10:13:33 -07:00
Easwar Swaminathan cdab8ae5c4
clusterresolver: push empty config to child policy upon removal of cluster resource (#6125) 2023-03-21 15:37:39 -07:00
Easwar Swaminathan 3292193519
xdsclient: handle race with watch timer handling (#6086) 2023-03-06 15:45:45 -08:00
Arvind Bright 28b6bcf9ba
xds/xdsclient: improve failure mode behavior (gRFC A57) (#5996) 2023-02-28 11:44:37 -08:00
Arvind Bright 081499f2e8
xds: remove support for v2 Transport API (#6013) 2023-02-14 13:35:52 -08:00
Easwar Swaminathan d103fc7066
xdsclient/xdsresource: reduce chattiness of logs (#5993) 2023-01-31 10:28:48 -08:00
Easwar Swaminathan 3b2da532bc
xdsclient: handle resource not found errors correctly (#5912) 2023-01-10 15:46:57 -08:00
Easwar Swaminathan 08479c5e2e
xdsclient: resource agnostic API implementation (#5776) 2022-12-21 13:53:03 -08:00
Easwar Swaminathan e72cb1c13f
xdsclient: organize existing contents better with new files (#5533) 2022-07-27 09:55:15 -07:00
Easwar Swaminathan 9ba66f1b84
xdsclient: use top-level server list if authority specific list is empty (#5491) 2022-07-12 11:37:52 -07:00
Easwar Swaminathan c6ee1c7144
xdsclient: only include nodeID in error strings, not the whole nodeProto (#5461) 2022-06-23 16:53:43 -07:00
Menghan Li 78b13f27de
xds/client: hold authority mutex before making a new authority (#5331) 2022-05-03 13:39:18 -07:00
Doug Fawley 3cccf6a43b
xdsclient: always backoff between new streams even after successful stream (#5280) 2022-04-01 10:20:47 -07:00
Menghan Li fbe4ccbc1e
xds/client: include Node ID in error messages from the XdsClient (#5223) 2022-03-16 16:12:48 -07:00
Menghan Li 0a68f8aff0
xds/federation: support federation in LRS (#5128) 2022-01-26 11:39:10 -08:00
Menghan Li afded7231d
xds/federation: update xdsclient to support multi authority (#5042) 2022-01-04 15:50:50 -08:00