[
https://issues.apache.org/jira/browse/IGNITE-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582615#comment-16582615
]
Ivan Pavlukhin commented on IGNITE-9300:
----------------------------------------
[~dpavlov]
Done.
> 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)