You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/07/09 03:58:07 UTC
[GitHub] [shardingsphere] justbk2015 opened a new issue #11239: result incorrect when DN not reachable in proxy on pg/opengauss
justbk2015 opened a new issue #11239:
URL: https://github.com/apache/shardingsphere/issues/11239
## Bug Report
proxy with two node DN1, DN2 and start success. then I stop DN1, and DN2. when we use gsql connect to sharding_db, we can get `select gs_password_notifytime()` and `select intervaltonum(gs_password_deadline())` return 1, this is incorrect , we expect throw exception
### Which version of ShardingSphere did you use?
opengauss_adapt
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
proxy
### Expected behavior
throw exception when run select func() when DN node is not reachable
### Actual behavior
get result 1
### Reason analyze (If you can)
exception not diposed when connection if refuse
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
proxy with two node DN1, DN2 and start success. then I stop DN1, and DN2. when we use gsql connect to sharding_db, we can get `select gs_password_notifytime()` and `select intervaltonum(gs_password_deadline())` return 1, this is incorrect , we expect throw exception
### Example codes for reproduce this issue (such as a github link).
see link and they discuss:
https://gitee.com/opengauss/openGauss-distributed-solutions/issues/I3YK9C?from=project-issue
--
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-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] justbk2015 closed issue #11239: result incorrect when DN not reachable in proxy on pg/opengauss
Posted by GitBox <gi...@apache.org>.
justbk2015 closed issue #11239:
URL: https://github.com/apache/shardingsphere/issues/11239
--
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-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tristaZero commented on issue #11239: result incorrect when DN not reachable in proxy on pg/opengauss
Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #11239:
URL: https://github.com/apache/shardingsphere/issues/11239#issuecomment-877135427
@justbk2015 Hi, I saw many issues about OG SQLs.
Currently, we will firstly deal with PostgreSQL SQL. BTW, are the issues you raised all in PostgreSQL's SQL list?
If not, please comment something on that issue. Thanks.
--
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-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org