wenzhenghu commented on code in PR #55772:
URL: https://github.com/apache/doris/pull/55772#discussion_r2476095599
##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -4852,6 +4886,17 @@ public TQueryOptions toThrift() {
tResult.setHnswCheckRelativeDistance(hnswCheckRelativeDistance);
tResult.setHnswBoundedQueue(hnswBoundedQueue);
tResult.setMergeReadSliceSize(mergeReadSliceSizeBytes);
+
+ if (policyFileCacheQueryLimitPercent >= 0) {
+
tResult.setFileCacheQueryLimitPercent((policyFileCacheQueryLimitPercent % 100
== 0)
+ ? 100 : policyFileCacheQueryLimitPercent);
+ } else if (fileCacheQueryLimitPercent >= 0) {
+
tResult.setFileCacheQueryLimitPercent(Math.min((fileCacheQueryLimitPercent %
100 == 0)
Review Comment:
这里如果是0或100,最终取值是file_cache_query_limit_percent_soft
--
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]