[ https://issues.apache.org/jira/browse/IGNITE-15666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449555#comment-17449555 ]
Vyacheslav Koptilin edited comment on IGNITE-15666 at 11/26/21, 12:48 PM: -------------------------------------------------------------------------- Hello [~ivandasch] > Guys, I suggest that we should carefully examine our statistics and change it > according to [Reference > Implementation|https://github.com/jsr107/RI/blob/master/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java]. (y) That is a good idea! I fully agree! [~ivandasch] Could you please take a look at the reference implementation of the _removeAll()_ method: [https://github.com/jsr107/RI/blob/94b2c5dc5481c95334d2699fac629d09d70db021/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java#L1379] Looks like this implementation does not update "time counter". Am I missing something? was (Author: slava.koptilin): Hello [~ivandasch] > Guys, I suggest that we should carefully examine our statistics and change it > according to [Reference > Implementation|https://github.com/jsr107/RI/blob/master/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java]. (y) That is a good idea! I fully agree! [~ivandasch] Could you please take a look at the reference implementation of the _removeAll()_ method: [https://github.com/jsr107/RI/blob/94b2c5dc5481c95334d2699fac629d09d70db021/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java#L1379] Looks like this implementation does not update "time counter". Am I missing something? > 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)