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

Ignite TC Bot commented on IGNITE-28099:
----------------------------------------

{panel:title=Branch: [pull/12953/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12953/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8977803&buildTypeId=IgniteTests24Java8_RunAll]

> Make page eviction start warning logged per data region instead of once per 
> node
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-28099
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28099
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Oleg Valuyskiy
>            Assignee: Oleg Valuyskiy
>            Priority: Minor
>              Labels: ise
>             Fix For: 2.19
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> h1. Description
> Currently the warning about page-based eviction start is logged only once per 
> node, even if eviction starts in multiple data regions. The message is 
> printed from {*}IgniteCacheDatabaseSharedManager#warnFirstEvict{*}:
> {code:java}
> Page-based evictions started. Consider increasing 'maxSize' on Data Region 
> configuration: <region-name>{code}
> Although the log message contains the data region name, the internal flag 
> *firstEvictWarn* is global for the whole 
> {*}IgniteCacheDatabaseSharedManager{*}. As a result, the warning is printed 
> only for the first data region where eviction starts and is suppressed for 
> all subsequent regions.
> This behavior may be misleading in configurations with multiple data regions. 
> If eviction starts in another region later, there will be no corresponding 
> warning in the logs.
> h1. Proposed change
> Change the eviction warning logic so that the message is logged once per data 
> region, instead of once per node.
> Expected behavior:
>  * The warning is printed when eviction starts in a data region for the first 
> time.
>  * If eviction later starts in another data region, the warning is printed 
> again for that region.
>  * The warning should still be printed only once per region to avoid log 
> flooding.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to