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

lrs: add a layer for clusters in load store #3880

Merged
merged 3 commits into from Sep 22, 2020

Commits on Sep 22, 2020

  1. [lrs_send_all_clusters] lrs: add an layer for clusters in load store

        - The original Store is renamed to PerClusterStore. The new Store has a method
          to get PerClusterStore.
          - All usages of old Store are updated to PerClusterStore
        - In EDS and LRS, where the load reporting is happening (by wrapping the
          picker), a closure is created with the store and clusterName, serviceName, so
        loads will be associated with the right cluster.
          - This also means when cluster/service is changed, the closure needs to
            update as well.
          - TODO: there's no correct timing for this update. The update in this change
            is happening too early. The fix would be to do a graceful switch of EDS
            when the cluster/service name is changed. That will happen in a later fix.
    menghanl committed Sep 22, 2020
    Copy the full SHA
    fc2e442 View commit details
    Browse the repository at this point in the history
  2. [lrs_store_per_cluster] c1

    menghanl committed Sep 22, 2020
    Copy the full SHA
    6422cd7 View commit details
    Browse the repository at this point in the history
  3. [lrs_store_per_cluster] c2

    menghanl committed Sep 22, 2020
    Copy the full SHA
    b648ef2 View commit details
    Browse the repository at this point in the history