[
https://issues.apache.org/jira/browse/IGNITE-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050236#comment-16050236
]
ASF GitHub Bot commented on IGNITE-5492:
----------------------------------------
GitHub user shroman opened a pull request:
https://github.com/apache/ignite/pull/2133
IGNITE-5492: Local cache metrics are broken.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shroman/ignite IGNITE-5492
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2133.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2133
----
commit 01a6b8cb3f57a390cc74692c7099f4bed5131b6d
Author: shroman <[email protected]>
Date: 2017-06-15T09:41:01Z
IGNITE-5492: Local cache metrics are broken.
----
> Local cache metrcis is broken
> -----------------------------
>
> Key: IGNITE-5492
> URL: https://issues.apache.org/jira/browse/IGNITE-5492
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.0
> Reporter: Alexey Kuznetsov
> Assignee: Dmitriy Govorukhin
> Fix For: 2.1
>
>
> Reproducer:
> IgniteConfiguration cfg = new IgniteConfiguration();
> Ignite ignite = Ignition.start(cfg);
> CacheConfiguration<String, String> locCacheCfg = new
> CacheConfiguration<>("local");
> locCacheCfg.setCacheMode(CacheMode.LOCAL);
> locCacheCfg.setStatisticsEnabled(true);
> IgniteCache locCache = ignite.getOrCreateCache(locCacheCfg);
> assert(locCache.get("ZZZ") == null)
> assert(locCache.localMetrics().getCacheMisses == 1)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)