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 2019/09/06 03:10:30 UTC

[GitHub] [incubator-shardingsphere] cherrylzhao commented on issue #2979: support hint in sharding-proxy

cherrylzhao commented on issue #2979: support hint in sharding-proxy
URL: https://github.com/apache/incubator-shardingsphere/issues/2979#issuecomment-528689608
 
 
   you are right, proxy should ensure the working thread is same for one client JDBC request, in fact XA and PostgreSQL of Proxy was implemented like that, we can refer to these. based on this condition,we should consider about how to transport hint value
   1. transport hint value in every sql wrapped with `/** **/` grammer
       I think this is hard to implement, it should let user wrap every sql, or we provide a proxy client sdk to parse the user sql.
   2. transport hint value using sctl grammar 
      it only need to send an additional stcl sql, it is easy to implement.
   

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


With regards,
Apache Git Services