AlexStocks commented on a change in pull request #1026:
URL: https://github.com/apache/dubbo-go/pull/1026#discussion_r567229618



##########
File path: protocol/dubbo/dubbo_invoker.go
##########
@@ -87,7 +87,7 @@ func (di *DubboInvoker) Invoke(ctx context.Context, 
invocation protocol.Invocati
                err    error
                result protocol.RPCResult
        )
-       if di.reqNum < 0 {
+       if atomic.LoadInt64(di.reqNum) < 0 {

Review comment:
       plg check the github error:
   
   go/protocol/dubbo/dubbo_invoker.go:90:22: cannot use di.reqNum (variable of 
type int64) as *int64 value in argument to atomic.LoadInt64)]"




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to