You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Pavlukhin (JIRA)" <ji...@apache.org> on 2018/09/04 09:45:01 UTC

[jira] [Created] (IGNITE-9459) MVCC Cache.size corner cases

Ivan Pavlukhin created IGNITE-9459:
--------------------------------------

             Summary: MVCC Cache.size corner cases
                 Key: IGNITE-9459
                 URL: https://issues.apache.org/jira/browse/IGNITE-9459
             Project: Ignite
          Issue Type: Bug
          Components: mvcc
            Reporter: Ivan Pavlukhin


During implementation of Cache.size for MVCC some corner cases were found. Attention must be put on:

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

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

{{mvccRemoveAll}} could erroneously decrement size when deleting version which was deleted (having {{newVersion}} committed).

{{mvccInitialValue}} could increment value over already existing value from history during rebalance.

It worth carefully reproduce both cases before making any fixes.



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