AlexStocks commented on code in PR #744:
URL: 
https://github.com/apache/incubator-seata-go/pull/744#discussion_r1889652063


##########
pkg/saga/statemachine/engine/invoker/func_invoker.go:
##########
@@ -0,0 +1,114 @@
+package invoker
+
+import (
+       "context"
+       "errors"
+       "reflect"
+       "sync"
+
+       "github.com/seata/seata-go/pkg/saga/statemachine/statelang/state"
+       "github.com/seata/seata-go/pkg/util/log"
+)
+
+type FuncInvoker struct {
+       services        map[string]FuncService
+       ServicesMapLock sync.Mutex

Review Comment:
   我是说把 lock 放在 map 上面,你这还是在 map 下面哦



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to