qixiaobo commented on issue #1496: Read write splitter for `Select ... for update` should route to master data node URL: https://github.com/apache/incubator-shardingsphere/issues/1496#issuecomment-543074241 > @qixiaobo do you mean we need to overrid this method and only use HintManager.isMasterRouteOnly() to check isMasterRoute? > > ``` > private boolean isMasterRoute(final SQLStatement sqlStatement) { > return !(sqlStatement instanceof SelectStatement) || MasterVisitedManager.isMasterVisited() || HintManager.isMasterRouteOnly(); > } > ``` Never! Use hint in your sql
---------------------------------------------------------------- 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
