[ 
https://issues.apache.org/jira/browse/IGNITE-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601999#comment-16601999
 ] 

Ivan Pavlukhin edited comment on IGNITE-8149 at 9/6/18 12:09 PM:
-----------------------------------------------------------------

Additionally some problems were found which needs to be fixed. Attention must 
be put on:

{{org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManager#mvccRemoveAll}}

{{org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManager#mvccInitialValue}}

But they are inapplicable in currently supported API. _clear_, _load from 
store_ and _data streamer_ are affected. Cache.size behavior must be taken into 
account while working on those features.


was (Author: pavlukhin):
Additionally some problems were found which needs to be fixed. Attention must 
be put on:

{{org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManager#mvccRemoveAll}}

{{org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManager#mvccInitialValue}}

Will be addressed in separate ticket IGNITE-9459

> MVCC TX: Size method should use tx snapshot
> -------------------------------------------
>
>                 Key: IGNITE-8149
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8149
>             Project: Ignite
>          Issue Type: Task
>          Components: cache, mvcc
>            Reporter: Igor Seliverstov
>            Assignee: Ivan Pavlukhin
>            Priority: Major
>             Fix For: 2.7
>
>
> Currently cache.size() returns number of entries in cache trees while there 
> can be several versions of one key-value pairs.
> We should use tx snapshot and count all passed mvcc filter entries instead.



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

Reply via email to