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: [email protected]

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


Reply via email to