Skip to content

Delete serialize retries - #13192

Merged
kannanjgithub merged 3 commits into
grpc:masterfrom
kannanjgithub:delete_SERIALIZE_RETRIES
Nov 23, 2026
Merged

kannanjgithub merged 3 commits into
grpc:masterfrom
kannanjgithub:delete_SERIALIZE_RETRIES

Conversation

@kannanjgithub

@kannanjgithub kannanjgithub commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

GRPC_SERIALIZE_RETRIES flag in PickFirstLeafLoadBalancer was introduced for use by GmsCore who is no longer overriding it to true. This change drops the serialized-retries feature from PickFirstLeafLoadBalancer and keeps only the code paths taken when the flag is false. This removes the LB-level reconnect backoff (scheduleBackoff, reconnectTask, reconnectPolicy) and no longer sets DISABLE_SUBCHANNEL_RECONNECT_KEY on created subchannels (its default is already false).

Tests are no longer parameterized on the flag, and the serialized-retries only test and helpers are removed.

Drop the serialized-retries feature from PickFirstLeafLoadBalancer and
keep only the code paths taken when the flag is false. This removes the
LB-level reconnect backoff (scheduleBackoff, reconnectTask,
reconnectPolicy) and no longer sets DISABLE_SUBCHANNEL_RECONNECT_KEY on
created subchannels (its default is already false).

Tests are no longer parameterized on the flag, and the serialized-retries
only test and helpers are removed.

TAG=agy
CONV=ccdc477a-378d-4f8b-94fb-ce501481282d
…TRIES

# Conflicts:
#	core/src/main/java/io/grpc/internal/PickFirstLeafLoadBalancer.java
…rTest test

The test added in grpc#13185 branched on the removed serializeRetries
parameter. Keep only the non-serialized expectation so the test
compiles after merging master.

TAG=agy
CONV=ccdc477a-378d-4f8b-94fb-ce501481282d
@kannanjgithub
kannanjgithub merged commit bc5f248 into grpc:master Nov 23, 2026
18 checks passed
@kannanjgithub
kannanjgithub deleted the delete_SERIALIZE_RETRIES branch November 23, 2026 06:04
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