yiguolei commented on code in PR #21205:
URL: https://github.com/apache/doris/pull/21205#discussion_r1244620325
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -781,6 +789,33 @@ public void executeByLegacy(TUniqueId queryId) throws
Exception {
}
}
+ private void syncJournalIfNeeded() throws Exception {
+ if (!context.getSessionVariable().enableStrongConsistencyRead
+ || !Config.enable_strong_consistency_read) {
Review Comment:
do not need this config, I think session variable is ok. Because if user
want to affect all users, it could use set global session variable = xxx.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]