ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Pavlukhin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-9300) Removal count metric is calculated improperly for transactional cache
Date Thu, 16 Aug 2018 14:43:00 GMT

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

Mime
View raw message