[
https://issues.apache.org/jira/browse/IGNITE-14774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351633#comment-17351633
]
Ignite TC Bot commented on IGNITE-14774:
----------------------------------------
{panel:title=Branch: [pull/9125/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9125/head] Base: [master] : New Tests
(14)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 7{color} [[tests
7|https://ci.ignite.apache.org/viewLog.html?buildId=6022390]]
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndDeleteCacheGrp[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndRemoveSomeEntries[numCaches = 3] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndRemoveSomeEntries[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndDeleteEntries[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPageDisplacementTest.testPageDisplacement - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndDeleteEntries[numCaches = 3] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite:
IndexPagesMetricsPersistentTest.testStoreAndDeleteCacheGrp[numCaches = 3] -
PASSED{color}
{color:#00008b}Cache 5{color} [[tests
6|https://ci.ignite.apache.org/viewLog.html?buildId=6021326]]
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndRemoveSomeEntries[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndDeleteEntries[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndDeleteEntries[numCaches = 3] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndDeleteCacheGrp[numCaches = 3] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndDeleteCacheGrp[numCaches = 1] -
PASSED{color}
* {color:#013220}IgniteCacheWithIndexingTestSuite:
IndexPagesMetricsInMemoryTest.testStoreAndRemoveSomeEntries[numCaches = 3] -
PASSED{color}
{color:#00008b}Basic 1{color} [[tests
1|https://ci.ignite.apache.org/viewLog.html?buildId=6021306]]
* {color:#013220}IgniteBasicTestSuite: IntHashMapTest.testCopyConstructor -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6021368&buildTypeId=IgniteTests24Java8_RunAll]
> Add metrics for index pages loaded into memory
> ----------------------------------------------
>
> Key: IGNITE-14774
> URL: https://issues.apache.org/jira/browse/IGNITE-14774
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Affects Versions: 2.11
> Reporter: Aleksandr Polovtcev
> Assignee: Aleksandr Polovtcev
> Priority: Minor
> Fix For: 2.11
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Expose the number of index pages currently loaded into memory on per-cache
> group and per-data region basis.
> h3. Implementation details
> # PageMetrics - an aggregation of all page-related metrics. At the moment of
> writing, contains the total number of pages and the number of index pages.
> # DataRegionMetricsImpl now contains page metrics related to every created
> cache group in a form of an immutable copy-on-write IntMap. It also contains
> an aggregation over these metrics that can be used as metrics for the whole
> data region.
> # Index pages allocation is tracked through the PageIO#initNewPage method,
> which can later be used to track other kinds of pages.
> # Index pages de-allocation is tracked in various places like replacing a
> page or adding it to a free list as I couldn’t find a single suitable place
> for this logic.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)