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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org