Ivan Daschinsky created IGNITE-16006:
----------------------------------------
Summary: JSR 107 statistics counter violations in IgniteCache
Key: IGNITE-16006
URL: https://issues.apache.org/jira/browse/IGNITE-16006
Project: Ignite
Issue Type: Bug
Reporter: Ivan Daschinsky
Currently, there is a lot of violations in cache statistics against [JSR 107
Spec|https://docs.google.com/document/d/1ijduF_tmHvBaUS7VBBU2ZN8_eEBiFaXXg9OI0_ZxCrA/edit#heading=h.yqda9u7ytn7]
and [Reference
Implementation|https://github.com/jsr107/RI/blob/master/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java]
in {{IgniteCache}}
For example, in {{get}} we increment counters not regartding successfull
outcomes was or not. This is clearly contradicts to [Reference
Implementation|https://github.com/jsr107/RI/blob/94b2c5dc5481c95334d2699fac629d09d70db021/cache-ri-impl/src/main/java/org/jsr107/ri/RICache.java#L1931]
The same is for {{getAndRemove}}, etc.
We should carefully examine Reference Implementation and fix all these
violations if possible.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)