[
https://issues.apache.org/jira/browse/IGNITE-28085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18063987#comment-18063987
]
Ignite TC Bot commented on IGNITE-28085:
----------------------------------------
{panel:title=Branch: [pull/12866/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12866/head] Base: [master] : New Tests
(3)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS 2{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=8913885]]
* {color:#013220}IgnitePdsTestSuite2:
IgniteDataStorageMetricsSelfTest.testEvicstionsStartedMetric - PASSED{color}
{color:#00008b}Disk Page Compressions 2{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=8913929]]
* {color:#013220}IgnitePdsCompressionTestSuite2:
IgniteDataStorageMetricsSelfTest.testEvicstionsStartedMetric - PASSED{color}
{color:#00008b}Cache 13{color} [[tests
1|https://ci2.ignite.apache.org/viewLog.html?buildId=8913835]]
* {color:#013220}IgniteCacheTestSuite13:
SystemViewCacheExpiryPolicyTest.testCacheViewExpiryPolicy[factory=javax.cache.configuration.FactoryBuilder$SingletonFactory@14b31e37,
actual=SingletonFactory [expiryPlc=EternalExpiryPolicy [create=ETERNAL]]] -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8913941&buildTypeId=IgniteTests24Java8_RunAll]
> Add metric indicating that page eviction has started due to DataRegion memory
> pressure
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-28085
> URL: https://issues.apache.org/jira/browse/IGNITE-28085
> Project: Ignite
> Issue Type: Improvement
> Reporter: Oleg Valuyskiy
> Assignee: Oleg Valuyskiy
> Priority: Minor
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> h1. Description
> In in-memory clusters, when a data region reaches its {*}maxSize{*}, Ignite
> starts page-based eviction. At the moment this condition can only be observed
> in logs via the following warning:
> {code:java}
> Page-based evictions started. Consider increasing 'maxSize' on Data Region
> configuration{code}
> (this message is logged from
> {*}IgniteCacheDatabaseSharedManager#warnFirstEvict{*}).
> However, there is no metric indicating such conditions, which makes it
> difficult to monitor eviction pressure using monitoring systems.
> h1. Proposed change
> Introduce a new boolean metric that becomes true when page eviction is
> triggered due to data region memory pressure.
> Unlike the existing warning log, which is currently printed once per node,
> the metric is introduced at the data region level. This allows monitoring
> systems to identify exactly which data region has experienced memory pressure
> and started page eviction.
> Each data region will therefore expose its own *EvictionsStarted* metric that
> becomes true once eviction is triggered in that particular region.
> h1. Note on logging behavior
> Currently the warning about page eviction start is logged only once per node
> because the *firstEvictWarn* flag in *IgniteCacheDatabaseSharedManager* is
> global. As a result, if eviction later starts in another data region, the
> corresponding warning will not appear in the logs.
> This behavior may be misleading in configurations with multiple data regions
> where eviction can occur independently. Improving mentioned behavior is
> addressed separately in IGNITE-28099.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)