pengyu0929 commented on issue #633: omega不能正常重连alpha
URL: 
https://github.com/apache/servicecomb-pack/issues/633#issuecomment-574630041
 
 
    srm-boot-saga是我们自己封装的包。
   现在问题已经解决了。
   
因为我们alpha使用的是ORACLE数据库,SagaStartedEvent的构造函数中使用空字符串设置compensationMethod,而ORACLE数据库不支持存储空字符串,导致报错。
   而omega则认为alpha这个服务挂掉了,最终将改sender的Value设置为Long。MAX_VALUE,导致之后不能调用。
   
   
之前我了解到Pack不支持ORACLE数据库,而据我了解eclipseLink框架基本上支持所有的数据库,所以为我认为可能是你们的sql不是通用的,最终我修改了相关sql就支持了ORACLE。比如
 ORACLE不支持表名 as 等等。
   
   
抛开alpha使用的是ORACLE,我认为在alpha出现数据库的问题时,比如数据长度大于数据库设置的,这种情况下omega收到的grpc异常是UNKONWN,此时不应该尝试重连alpha吗?

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


With regards,
Apache Git Services

Reply via email to