You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@seata.apache.org by xi...@apache.org on 2026/09/21 06:16:26 UTC
(incubator-seata-go) branch master updated: fix:fix data races in gRPC E2E tests (#1194)
This is an automated email from the ASF dual-hosted git repository.
Ethan-Xingyue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-seata-go.git
The following commit(s) were added to refs/heads/master by this push:
new 71728a8a fix:fix data races in gRPC E2E tests (#1194)
71728a8a is described below
commit 71728a8ae36344ad522f35589a32f3b710dd4c6f
Author: Vanillaxi <27...@qq.com>
AuthorDate: Mon Sep 21 14:16:22 2026 +0800
fix:fix data races in gRPC E2E tests (#1194)
---
pkg/remoting/grpc/listener.go | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pkg/remoting/grpc/listener.go b/pkg/remoting/grpc/listener.go
index 500ad1dd..00128d1f 100644
--- a/pkg/remoting/grpc/listener.go
+++ b/pkg/remoting/grpc/listener.go
@@ -136,7 +136,10 @@ func (g *grpcClientHandler) StartReceiveLoop(ctx context.Context, c *Channel) {
return
}
+ c.wg.Add(1)
go func() {
+ defer c.wg.Done()
+
rpcMessage, err := Decode(msg)
if err != nil {
log.Errorf("Decode failed cause %v", err)
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@seata.apache.org
For additional commands, e-mail: notifications-help@seata.apache.org