[jira] [Created] (IGNITE-2751) GridH2TreeIndex.getRowCount unwraps objects' values that are not used later

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-2751) GridH2TreeIndex.getRowCount unwraps objects' values that are not used later

Anton Vinogradov (Jira)
Denis Magda created IGNITE-2751:
-----------------------------------

             Summary: GridH2TreeIndex.getRowCount unwraps objects' values that are not used later
                 Key: IGNITE-2751
                 URL: https://issues.apache.org/jira/browse/IGNITE-2751
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 1.5.0.final
            Reporter: Denis Magda
            Priority: Critical
             Fix For: 1.6


If to run query like "SELECT COUNT(*) FROM table" then our implementation will perform a full scan filtering out entries that are not primary for a given node and will calculate only a number of primary ones.

If entries are stored off-heap then both a key and value of an entry are unswapped, Unswapped values are not used by backup filters thus we have to omit unswapping of the values at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)