lethexixin opened a new issue #50:
URL: https://github.com/apache/dubbo-go-samples/issues/50


   在使用seata模块的时候会报错,报错内容为:  
   
   ```bash
   # github.com/transaction-wg/seata-golang/pkg/client/rpc_client
   
...\github.com\transaction-wg\[email protected]\pkg\client\rpc_client\rpc_remoting_client.go:210:6:
 assignment mismatch: 1 variable but session.WritePkg returns 3 values
   
...\github.com\transaction-wg\[email protected]\pkg\client\rpc_client\rpc_remoting_client.go:273:6:
 assignment mismatch: 1 variable but session.WritePkg returns 3 values
   ```
   
   报错原因是seata-golang里使用的dubbo-getty版本较低,   
   在[email protected]以上的版本中dubbo-getty使用的是v1.4.3,   
   而[email protected]使用的是[email protected] ,  
   在[email protected] 中是  WritePkg(pkg interface{}, timeout time.Duration) 
(totalBytesLength int, sendBytesLength int, err error),    
   而 在dubbo-getty v1.4.2 中是 WritePkg(pkg interface{}, timeout time.Duration)  
err error ,   
   返回的参数数量不同,所以导致了最上面的错误,请修复一下 seata-golang 的内容


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