You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ian Maxon (Jira)" <ji...@apache.org> on 2023/06/23 17:03:00 UTC
[jira] [Updated] (ASTERIXDB-3214) Do not skip non-key columns if anti-matter was encountered
[ https://issues.apache.org/jira/browse/ASTERIXDB-3214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Maxon updated ASTERIXDB-3214:
---------------------------------
Labels: triaged (was: )
> Do not skip non-key columns if anti-matter was encountered
> -----------------------------------------------------------
>
> Key: ASTERIXDB-3214
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3214
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: STO - Storage
> Affects Versions: 0.9.9
> Reporter: Wail Y. Alkowaileet
> Assignee: Wail Y. Alkowaileet
> Priority: Major
> Labels: triaged
> Fix For: 0.9.9
>
>
> Currently, the method markAsDeleted in LSMColumnBTreeRangeSearchCursor has the following implementation:
> {code:java}
> protected void markAsDeleted(PriorityQueueElement e) throws HyracksDataException {
> if (isMemoryComponent[e.getCursorIndex()]) {
> super.markAsDeleted(e);
> return;
> }
> IColumnTupleIterator columnTuple = (IColumnTupleIterator) e.getTuple();
> columnTuple.skip(1);
> } {code}
> The problem here is that if *columnTuple* is an anti-matter, we will skip non-key columns that do not belong to the anti-matter (as anti-matter tuples do not have anything besides the PKs). So, this should only skip non-key columns if the tuple is not an anti-matter one.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)