You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "HeLifu (JIRA)" <ji...@apache.org> on 2018/09/03 07:50:00 UTC
[jira] [Created] (KUDU-2566) support open-ended intervals & end up
fetching one more rowset than necessary
HeLifu created KUDU-2566:
----------------------------
Summary: support open-ended intervals & end up fetching one more rowset than necessary
Key: KUDU-2566
URL: https://issues.apache.org/jira/browse/KUDU-2566
Project: Kudu
Issue Type: Improvement
Components: tablet, util
Affects Versions: 1.0.0
Reporter: HeLifu
In function of 'Tablet::CaptureConsistentIterators' of tablet.cc, there are two TODO:
1.TODO(todd): support open-ended intervals:
In our kudu source code, we just cull row-sets when lower_bound_key and exclusive_upper_bound_key are existing at the same time. And if not, we will grab all row-sets of the tablet, then have to seek the key in ‘CFileSet::Iterator::PushdownRangeScanPredicate’ for the unnecessary row-sets (which will waste disk io).
2.TODO(todd): the upper bound key is exclusive, but the RowSetTree function takes an inclusive interval. So, we might end up fetching one more rowset than necessary.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)