Skip to content

xds: ORCA to LRS propagation changes #12203

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shivaspeaks
Copy link
Member

Implements gRFC A85 (grpc/proposal#454).

TODO: Unit tests

@shivaspeaks shivaspeaks changed the title ORCA to LRS propagation changes xds: ORCA to LRS propagation changes Jul 8, 2025
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have to look at some details more closely, but it is mostly just plumbing.

@@ -25,6 +25,7 @@
import com.google.common.collect.Sets;
import io.grpc.Internal;
import io.grpc.Status;
import io.grpc.xds.BackendMetricPropagation;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

io.grpc.xds.client can't depend on io.grpc.xds. We moved client into its own package so it could be used without the rest of grpc.

@@ -420,6 +421,29 @@ public void run() {
return loadCounter;
}

@Override
public LoadStatsManager2.ClusterLocalityStats addClusterLocalityStats(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the old method just call this one with backendMetricPropagation set to null? (Feel free to do that in XdsClient.java)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants