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)

Reply via email to