[ https://issues.apache.org/jira/browse/IGNITE-8149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597610#comment-16597610 ]
ASF GitHub Bot commented on IGNITE-8149: ---------------------------------------- GitHub user pavlukhin opened a pull request: https://github.com/apache/ignite/pull/4654 IGNITE-8149: MVCC TX: Size method should use tx snapshot You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-8149 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/4654.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4654 ---- commit b5ea6e1b5b072995f8e97a19183ebebfbae6cf20 Author: ipavlukhin <vololo100@...> Date: 2018-08-30T16:00:08Z IGNITE-8149 Cache.size is updated on MVCC transaction commit ---- > 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)