Gabriel39 commented on code in PR #11598: URL: https://github.com/apache/doris/pull/11598#discussion_r940873133
########## be/src/olap/reader.cpp: ########## @@ -613,15 +613,14 @@ Status TabletReader::_init_delete_condition(const ReaderParams& read_params) { } auto delete_init = [&]() -> Status { - return _delete_handler.init(_tablet_schema, _tablet->delete_predicates(), + return _delete_handler.init(_tablet_schema, read_params.delete_predicates, read_params.version.second, this); }; if (read_params.reader_type == READER_ALTER_TABLE) { return delete_init(); } - std::shared_lock rdlock(_tablet->get_header_lock()); Review Comment: Did this lock have any impact before? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org