[
https://issues.apache.org/jira/browse/IGNITE-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Pavlukhin updated IGNITE-9300:
-----------------------------------
Description:
For TRANSACTIONAL cache single remove outside of transaction is counted even if
entry is absent when remove is called. Expected behavior is that such remove
does not change removal counter.
{code}
System.out.println(cache.remove(1)); // false
System.out.println(cache.metrics().getCacheRemovals()); // 1
{code}
> Removal count metric is calculated improperly for transactional cache
> ---------------------------------------------------------------------
>
> Key: IGNITE-9300
> URL: https://issues.apache.org/jira/browse/IGNITE-9300
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Ivan Pavlukhin
> Priority: Major
>
> For TRANSACTIONAL cache single remove outside of transaction is counted even
> if entry is absent when remove is called. Expected behavior is that such
> remove does not change removal counter.
> {code}
> System.out.println(cache.remove(1)); // false
> System.out.println(cache.metrics().getCacheRemovals()); // 1
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)