Skip to content

Commit 57f998b

Browse files
committed
when look up address, record transactionServiceGroup
1 parent 0b9d7c9 commit 57f998b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discovery/seata-discovery-nacos/src/main/java/org/apache/seata/discovery/registry/nacos/NacosRegistryServiceImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public void unsubscribe(String cluster, EventListener listener) throws Exception
147147

148148
@Override
149149
public List<InetSocketAddress> lookup(String key) throws Exception {
150+
transactionServiceGroup = key;
150151
String clusterName = getServiceGroup(key);
151152
if (clusterName == null) {
152153
String missingDataId = PREFIX_SERVICE_ROOT + CONFIG_SPLIT_CHAR + PREFIX_SERVICE_MAPPING + key;

0 commit comments

Comments
 (0)