Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xds: manage load stats for all clusters in XdsClient (v1.31.x backport) #7314

Commits on Aug 11, 2020

  1. xds: import v3 proto for ADS service

    dapengzhang0 authored and voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    72a256f View commit details
    Browse the repository at this point in the history
  2. xds: support load reporting all clusters option and fix actual report…

    … interval measurement (grpc#7209)
    
    - Add support for send_all_clusters field in LRS response. When it is set to true, just send load reports for clusters that the client is currently tracking (aka, is sending load to).
    
    - The actual load report interval (in each ClusterStats message, which contains the stats for each cluster:eds_service) should be tracked individually.
    voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    369efa2 View commit details
    Browse the repository at this point in the history
  3. xds: refactor usage of Node in Bootstrap to EnvoyProtoData.Node

    In preparation for xds-v3 support.
    dapengzhang0 authored and voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    78206c6 View commit details
    Browse the repository at this point in the history
  4. xds: refactor AdsStream to envoy-proto-and-version-agnostic AbstractA…

    …dsStream
    
    In preparation of xds-v3 support.
    dapengzhang0 authored and voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    897da50 View commit details
    Browse the repository at this point in the history
  5. xds: Add server features support to Bootstrapper

    In preparation for xds-v3 support.
    dapengzhang0 authored and voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    588d6b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c1f6335 View commit details
    Browse the repository at this point in the history
  7. xds: support v3 for XdsClient

    Duplicated `XdsClientImptTest` for V3. `XdsClientImptTestV2` and all other tests are still using V2. Even for `XdsClientImptTest`, although the protocol is V3, the test xds server still sends V2 resources in its V3 response.
    dapengzhang0 authored and voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    9c4c696 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4664f2b View commit details
    Browse the repository at this point in the history
  9. xds: manage load stats for all clusters in XdsClient (grpc#7299)

    Move the creation of LoadStatsStore (aka, the stats object) into XdsClient. The XdsClient is responsible for managing the lifetime of stats objects. Creations of LoadStatsStores are reference counted so that multiple EDS policies can retrieve the same stats object for load recording. Counters for recording loads per locality also need to be reference counted, as each EDS policy for the same cluster will receive endpoints for the same group of localities, they will use the same load counters for recording each locality's loads.
    voidzcy committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    08f3a0a View commit details
    Browse the repository at this point in the history