diff --git a/naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java b/naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java index b5a0ffb39..ea726d1b8 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java @@ -317,8 +317,6 @@ public class PushService implements ApplicationContextAware, ApplicationListener try { packet = new DatagramPacket(dataBytes, dataBytes.length, client.socketAddr); Receiver.AckEntry ackEntry = new Receiver.AckEntry(key, packet); - ackEntry.data = data; - // we must store the key be fore send, otherwise there will be a chance the // ack returns before we put in ackEntry.data = data;