This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 4f26750c91 [Improvement](statistics)Disable file cache while running analysis tasks. (#23663) 4f26750c91 is described below commit 4f26750c9114c8793c876d32463173f44090c43c Author: Jibing-Li <64681310+jibing...@users.noreply.github.com> AuthorDate: Wed Aug 30 20:50:12 2023 +0800 [Improvement](statistics)Disable file cache while running analysis tasks. (#23663) Disable file cache while running analysis tasks. Analyze tasks are background tasks, shouldn't affect user local cache data. --- .../src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java index 8d09475bcb..876be46ab6 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java +++ b/fe/fe-core/src/main/java/org/apache/doris/statistics/util/StatisticsUtil.java @@ -170,6 +170,7 @@ public class StatisticsUtil { sessionVariable.enableProfile = false; sessionVariable.queryTimeoutS = Config.analyze_task_timeout_in_hours * 60 * 60; sessionVariable.insertTimeoutS = Config.analyze_task_timeout_in_hours * 60 * 60; + sessionVariable.enableFileCache = false; connectContext.setEnv(Env.getCurrentEnv()); connectContext.setDatabase(FeConstants.INTERNAL_DB_NAME); connectContext.setQualifiedUser(UserIdentity.ROOT.getQualifiedUser()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org