Skip to content

Commit

Permalink
[BugFix] Fix memory issue since runtime profile report unused profile…
Browse files Browse the repository at this point in the history
… during load process (backport #43977) (#44592)

Co-authored-by: meegoo <[email protected]>
  • Loading branch information
mergify[bot] and meegoo authored Apr 23, 2024
1 parent 23098fa commit 45c38a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fe/fe-core/src/main/java/com/starrocks/qe/Coordinator.java
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,9 @@ private void prepareResultSink() throws Exception {

} else {
// This is a load process.
this.queryOptions.setEnable_profile(true);
if (!coordinatorPreprocessor.isUsePipeline()) {
this.queryOptions.setEnable_profile(true);
}
deltaUrls = Lists.newArrayList();
loadCounters = Maps.newHashMap();
List<Long> relatedBackendIds = Lists.newArrayList(coordinatorPreprocessor.getAddressToBackendID().values());
Expand Down

0 comments on commit 45c38a8

Please sign in to comment.