This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 502126a4bf0 branch-3.0: [Fix](ShortCircuit) fix open segments leading
to bad performace #44073 (#44077)
502126a4bf0 is described below
commit 502126a4bf0f6b5916cea4a4698c187b25b91324
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Nov 17 21:06:34 2024 +0800
branch-3.0: [Fix](ShortCircuit) fix open segments leading to bad performace
#44073 (#44077)
Cherry-picked from #44073
Co-authored-by: lihangyu <[email protected]>
---
be/src/service/point_query_executor.cpp | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/be/src/service/point_query_executor.cpp
b/be/src/service/point_query_executor.cpp
index 2550a53a6ad..1aee7f3604c 100644
--- a/be/src/service/point_query_executor.cpp
+++ b/be/src/service/point_query_executor.cpp
@@ -396,17 +396,6 @@ Status PointQueryExecutor::_lookup_row_key() {
specified_rowsets = _tablet->get_rowset_by_ids(nullptr);
}
std::vector<std::unique_ptr<SegmentCacheHandle>>
segment_caches(specified_rowsets.size());
- // init segment_cache
- {
- SCOPED_TIMER(&_profile_metrics.load_segment_key_stage_ns);
- for (size_t i = 0; i < specified_rowsets.size(); i++) {
- auto& rs = specified_rowsets[i];
- segment_caches[i] = std::make_unique<SegmentCacheHandle>();
- RETURN_IF_ERROR(SegmentLoader::instance()->load_segments(
- std::static_pointer_cast<BetaRowset>(rs),
segment_caches[i].get(), true, true,
- &_profile_metrics.read_stats));
- }
- }
for (size_t i = 0; i < _row_read_ctxs.size(); ++i) {
RowLocation location;
if (!config::disable_storage_row_cache) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]