This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 18846751d57 branch-2.1: [Bug](scan) do not release tablet_reader on 
NewOlapScanner::close #46296 (#46355)
18846751d57 is described below

commit 18846751d57220872445b6f7749ad534c58b4d55
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jan 3 16:26:33 2025 +0800

    branch-2.1: [Bug](scan) do not release tablet_reader on 
NewOlapScanner::close #46296 (#46355)
    
    Cherry-picked from #46296
    
    Co-authored-by: Pxl <[email protected]>
---
 be/src/vec/exec/scan/new_olap_scanner.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/be/src/vec/exec/scan/new_olap_scanner.cpp 
b/be/src/vec/exec/scan/new_olap_scanner.cpp
index 22360200d79..dd4a12b021a 100644
--- a/be/src/vec/exec/scan/new_olap_scanner.cpp
+++ b/be/src/vec/exec/scan/new_olap_scanner.cpp
@@ -520,14 +520,6 @@ Status NewOlapScanner::close(RuntimeState* state) {
         return Status::OK();
     }
 
-    // olap scan node will call scanner.close() when finished
-    // will release resources here
-    // if not clear rowset readers in read_params here
-    // readers will be release when runtime state deconstructed but
-    // deconstructor in reader references runtime state
-    // so that it will core
-    _tablet_reader_params.rs_splits.clear();
-    _tablet_reader.reset();
     RETURN_IF_ERROR(VScanner::close(state));
     return Status::OK();
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to