Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5492

Local cache metrics is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • cache
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              shroman Roman Shtykh
              kuaw26 Alexey Kuznetsov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: