[DocDB] Remove DocKey decoding part from ScanChoices #15304
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
Jira Link: DB-4457
Description
As part of the fix for #12899 and #14862, we figured that ScanChoices SkipTargetsUpTo can be optimized further by avoiding the decode for key columns which are not used in the filter. Based on the offline discussion, here is the proposal discussed in meeting:
std::vector<size_t> GetFilteredKeyColumnIndexes()
Status SkipTargetsUpTo(Slice key_prefix, std::vector<KeyEntryValue or Slice>& key_columns_or_slice, Slice suffix)
The text was updated successfully, but these errors were encountered: