Skip to content

Conversation

@kannanjgithub
Copy link
Contributor

@kannanjgithub kannanjgithub commented Oct 24, 2025

b/348690462

@kannanjgithub kannanjgithub requested a review from ejona86 October 24, 2025 14:24
asyncRlsCall(entry.request, entry.backoffPolicy);
"[RLS Entry {0}] Calling RLS for transition to pending", entry.routeLookupRequestKey);
linkedHashLruCache.invalidate(entry.routeLookupRequestKey);
asyncRlsCall(entry.routeLookupRequestKey, entry.backoffPolicy, entry.routeLookupReason);
Copy link
Member

Choose a reason for hiding this comment

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

It seems this should always be REASON_MISS, because we have no data for this entry.

@Immutable
abstract static class RouteLookupRequest {

// Names should match those in grpc.lookup.v1.RouteLookupRequest.Reason
Copy link
Member

Choose a reason for hiding this comment

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

Convert to javadoc, here and below.


/** Creates a {@link RouteLookupRequest} using the given request lookup key and reason. */
@CheckReturnValue
RouteLookupRequest create(RouteLookupRequestKey routeLookupRequestKey,
Copy link
Member

Choose a reason for hiding this comment

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

I'm not seeing the value of this method; why not just inline its contents into the one caller?

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