You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/02/20 03:24:11 UTC

[GitHub] [dubbo-go-samples] lethexixin opened a new issue #50: 使用seata模块报错,报错原因是seata-golang里使用的dubbo-getty版本问题导致的

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\seata-golang@v0.1.8\pkg\client\rpc_client\rpc_remoting_client.go:210:6: assignment mismatch: 1 variable but session.WritePkg returns 3 values
   ...\github.com\transaction-wg\seata-golang@v0.1.8\pkg\client\rpc_client\rpc_remoting_client.go:273:6: assignment mismatch: 1 variable but session.WritePkg returns 3 values
   ```
   
   报错原因是seata-golang里使用的dubbo-getty版本较低,   
   在dubbo-go@v1.5.5以上的版本中dubbo-getty使用的是v1.4.3,   
   而seata-golang@v0.1.8使用的是dubbo-getty@v1.4.2 ,  
   在dubbo-getty@v1.4.3 中是  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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-samples] AlexStocks commented on issue #50: 使用seata模块报错,报错原因是seata-golang里使用的dubbo-getty版本问题导致的

Posted by GitBox <gi...@apache.org>.
AlexStocks commented on issue #50:
URL: https://github.com/apache/dubbo-go-samples/issues/50#issuecomment-782615328


   @lethexixin I think u can submit an issue to seata-golang again.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-samples] AlexStocks closed issue #50: bug: seata-golang 里使用的 dubbo-getty 版本与 dubbo-go 使用的 dubbo-getty 版本不一致

Posted by GitBox <gi...@apache.org>.
AlexStocks closed issue #50:
URL: https://github.com/apache/dubbo-go-samples/issues/50


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org