You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Taewoo Kim (JIRA)" <ji...@apache.org> on 2018/04/26 20:19:00 UTC

[jira] [Updated] (ASTERIXDB-2374) Index-only plan does not work as expected.

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Taewoo Kim updated ASTERIXDB-2374:
----------------------------------
    Summary: Index-only plan does not work as expected.  (was: Index-only plan does work as expected.)

> Index-only plan does not work as expected.
> ------------------------------------------
>
>                 Key: ASTERIXDB-2374
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2374
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Taewoo Kim
>            Priority: Critical
>
> Currently, the index-only plan is generated, but none of search result goes to the index-only-plan path. That is, every search result from a secondary index search is fed into the primary index.
>  
> The cause is that after loading tuples from in-memory search cursor to a priority queue, we set a boolean variable "includeMutableComponents" to false. Thus, when LSMBTreeRangeSearchCursor conducts a search, it thinks that it is fetching tuples from the disk and does not apply "searchCallback.proceed()". The index-only plan relies on this result and it is always set to false. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)