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

Vyacheslav Koptilin commented on IGNITE-15666:
----------------------------------------------

Hello [~ivandasch],

Yep, as [~zstan] already mentioned the specification states about statistics - 
12.2 MXBean Definitions.
There are two methods related to removals: getCacheRemovals() and 
getAverageRemoveTime().

12.4. clearly states that statistics related to the remove(K key) method should 
be updated if and only if the method returns true.
In my understanding, if remove(key) returns true then both statistics should be 
updated, otherwise, both should be unchanged.



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

Reply via email to