[jira] [Commented] (IGNITE-9300) Removal count metric is calculated improperly for transactional cache

2018-08-16 Thread Ivan Pavlukhin (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (IGNITE-9300) Removal count metric is calculated improperly for transactional cache

2018-08-16 Thread Dmitriy Pavlov (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-9300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582611#comment-16582611
 ] 

Dmitriy Pavlov commented on IGNITE-9300:


Hi [~Pavlukhin], could you please fill ticket description

> 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
>




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