doveylovey commented on issue #16875: URL: https://github.com/apache/shardingsphere/issues/16875#issuecomment-1101064486
> > > @doveylovey Sorry, I made a typo. What I want to confirm is, are you executing the insert and select statements in transaction? The statements in the transaction will be executed by the primary datasource. > > > > > > @strongduanmu yes, i executing the insert and select statements in transaction. But, if I don't do that, how do you guarantee transactions? > > If you start a transaction, I think the route result is right. For more detail, please refer to this doc——https://shardingsphere.apache.org/document/current/cn/features/readwrite-splitting/use-norms. @strongduanmu Ok, thank you very much -- 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]
