From c7a059d6f268293174cd4a35033edee60d11d410 Mon Sep 17 00:00:00 2001 From: MV Shiva Prasad Date: Thu, 24 Sep 2026 21:03:34 +0530 Subject: [PATCH 1/2] api: remove ATTR_ADDRESS_NAME from EAG --- api/src/main/java/io/grpc/EquivalentAddressGroup.java | 6 ------ .../main/java/io/grpc/InternalEquivalentAddressGroup.java | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/api/src/main/java/io/grpc/EquivalentAddressGroup.java b/api/src/main/java/io/grpc/EquivalentAddressGroup.java index 092850b6383..2dd52fe7f21 100644 --- a/api/src/main/java/io/grpc/EquivalentAddressGroup.java +++ b/api/src/main/java/io/grpc/EquivalentAddressGroup.java @@ -69,12 +69,6 @@ public final class EquivalentAddressGroup { @Attr static final Attributes.Key ATTR_WEIGHT = Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_WEIGHT"); - /** - * Name associated with individual address, if available (e.g., DNS name). - */ - @Attr - static final Attributes.Key ATTR_ADDRESS_NAME = - Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_ADDRESS_NAME"); private final List addrs; private final Attributes attrs; diff --git a/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java b/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java index 52c01d8d5a7..c9cc5ce9f69 100644 --- a/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java +++ b/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java @@ -36,6 +36,7 @@ private InternalEquivalentAddressGroup() {} /** * Name associated with individual address, if available (e.g., DNS name). */ + @EquivalentAddressGroup.Attr public static final Attributes.Key ATTR_ADDRESS_NAME = - EquivalentAddressGroup.ATTR_ADDRESS_NAME; + Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_ADDRESS_NAME"); } From cd77fc4e93f74d3cd6e24e2916c170615878b606 Mon Sep 17 00:00:00 2001 From: MV Shiva Prasad Date: Thu, 24 Sep 2026 21:24:05 +0530 Subject: [PATCH 2/2] api: remove ATTR_ADDRESS_NAME from EAG --- api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java b/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java index c9cc5ce9f69..39577ce940c 100644 --- a/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java +++ b/api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java @@ -38,5 +38,5 @@ private InternalEquivalentAddressGroup() {} */ @EquivalentAddressGroup.Attr public static final Attributes.Key ATTR_ADDRESS_NAME = - Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_ADDRESS_NAME"); + Attributes.Key.create("io.grpc.InternalEquivalentAddressGroup.ATTR_ADDRESS_NAME"); }