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

Ignite.dataRegionMetrics throws NPE with empty persisted region

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.10, 2.9.1
    • cache
    • Fixed NPE when collecting metrics for not initialized data region.

    Description

      java.lang.NullPointerException
      	at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.checkpointBufferPagesCount(PageMemoryImpl.java:1823)
      	at org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsImpl.getUsedCheckpointBufferPages(DataRegionMetricsImpl.java:287)
      	at org.apache.ignite.internal.processors.cache.persistence.DataRegionMetricsSnapshot.<init>(DataRegionMetricsSnapshot.java:108)
      	at org.apache.ignite.internal.processors.cache.persistence.IgniteCacheDatabaseSharedManager.memoryMetrics(IgniteCacheDatabaseSharedManager.java:815)
      	at org.apache.ignite.internal.IgniteKernal.dataRegionMetrics(IgniteKernal.java:3773)
      

      Attachments

        Issue Links

          Activity

            People

              ilyak Ilya Kasnacheev
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m