ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-5492) Local cache metrcis is broken
Date Fri, 16 Jun 2017 12:08:00 GMT

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

ASF GitHub Bot commented on IGNITE-5492:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/2133


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

Mime
View raw message