You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2021/11/26 02:17:48 UTC

[incubator-doris] branch master updated: [fix](reader) Fix the bug that reader call _capture_rs_readers function twice (#7224)

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/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 91a3150  [fix](reader) Fix the bug that reader call _capture_rs_readers function twice (#7224)
91a3150 is described below

commit 91a31509101b4cf3659203c96b2f6d19990a7176
Author: HappenLee <ha...@hotmail.com>
AuthorDate: Thu Nov 25 20:17:33 2021 -0600

    [fix](reader) Fix the bug that reader call _capture_rs_readers function twice (#7224)
---
 be/src/olap/reader.cpp | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/be/src/olap/reader.cpp b/be/src/olap/reader.cpp
index 7f68518..121d86e 100644
--- a/be/src/olap/reader.cpp
+++ b/be/src/olap/reader.cpp
@@ -131,18 +131,7 @@ OLAPStatus Reader::init(const ReaderParams& read_params) {
                      << ", version:" << read_params.version;
         return res;
     }
-
-    std::vector<RowsetReaderSharedPtr> rs_readers;
-    res = _capture_rs_readers(read_params, &rs_readers);
-    if (res != OLAP_SUCCESS) {
-        LOG(WARNING) << "fail to init reader when _capture_rs_readers. res:" << res
-                     << ", tablet_id:" << read_params.tablet->tablet_id()
-                     << ", schema_hash:" << read_params.tablet->schema_hash()
-                     << ", reader_type:" << read_params.reader_type
-                     << ", version:" << read_params.version;
-        return res;
-    }
-
+    
     return OLAP_SUCCESS;
 }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org