You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/06/16 12:11:00 UTC

[jira] [Resolved] (IGNITE-5492) Local cache metrcis is broken

     [ https://issues.apache.org/jira/browse/IGNITE-5492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov resolved IGNITE-5492.
-------------------------------------
    Resolution: Fixed

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