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

Ivan Daschinsky edited comment on IGNITE-15666 at 11/25/21, 3:07 PM:
---------------------------------------------------------------------

>>  getAverageRemovalTime() returns 500 ms (just because there is only one 
>> successful remove).
-Obiously not, it returns 100 ms-
Oh, shit, it returns now complete bullshit. You are right here, THIS should be 
fixed.

So, yep, here you are right, we should fix async version, not sync one, it is 
currently a little bit weird, but at least consistent and correct. 

My bad, that I don't look at our implementation of {{getAverageTime}}. 



was (Author: ivandasch):
>>  getAverageRemovalTime() returns 500 ms (just because there is only one 
>> successful remove).
-Obiously not, it returns 100 ms-
Oh, shit, it returns now complete bullshit. You are right here, THIS should be 
fixed.

So, yep, here you are right, we should fix async version, not sync one, it is 
currently a little bit weird, but at least consistent and correct. 


> 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
>
>         Attachments: screenshot-1.png
>
>          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