This is an automated email from the ASF dual-hosted git repository.
eldenmoon 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 06404114f16 [Fix](point query) fix memleak by increasing
`scanReplicaIds` when using prepared statement (#28184)
06404114f16 is described below
commit 06404114f166d9a2a523811b51ac955456dd5699
Author: lihangyu <[email protected]>
AuthorDate: Fri Dec 8 21:02:01 2023 +0800
[Fix](point query) fix memleak by increasing `scanReplicaIds` when using
prepared statement (#28184)
OlapScanNode should release memory for `scanReplicaIds`
---
fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
index 7ca0198ce60..0683e54082a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java
@@ -1169,6 +1169,7 @@ public class OlapScanNode extends ScanNode {
scanBackendIds.clear();
scanTabletIds.clear();
bucketSeq2locations.clear();
+ scanReplicaIds.clear();
try {
createScanRangeLocations();
} catch (AnalysisException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]