[ https://issues.apache.org/jira/browse/IGNITE-15666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449101#comment-17449101 ]
Evgeny Stanilovsky commented on IGNITE-15666: --------------------------------------------- [~ivandasch] But, what about mentioned : [Statistics Effects of Cache Operations|https://download.oracle.com/otn-pub/jcp/jcache-1_0-fr-eval-spec/JSR107FinalSpecification.pdf?AuthParam=1637836318_085ab63bdd4a3a07d19359ec45afc553] ? /** * The total number of removals from the cache. This does not include evictions, * where the cache itself initiates the removal to make space. * * @return the number of removals */ long getCacheRemovals(); /** * The mean time to execute removes. * * @return the time in µs */ float getAverageRemoveTime(); and mentioned : method should update statistics if the method returns true. and suppose - i removes existing key , removals = 1, rmTime = 100ns and after a removes 100700 not existing keys , removals still = 1, time grows > The remove metric value is different for sync and async methods > --------------------------------------------------------------- > > Key: IGNITE-15666 > URL: https://issues.apache.org/jira/browse/IGNITE-15666 > Project: Ignite > Issue Type: Bug > Reporter: Amelchev Nikita > Assignee: Amelchev Nikita > Priority: Major > Fix For: 2.12 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The remove metric value is different for sync and async methods. > The following metrics are updated only if the key was exist for the sync > version: > {noformat} > RemoveTimeTotal > RemoveTime > {noformat} -- This message was sent by Atlassian Jira (v8.20.1#820001)