You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Oleg Valuyskiy (Jira)" <ji...@apache.org> on 2026/03/09 02:15:00 UTC

[jira] [Created] (IGNITE-28099) Make page eviction start warning logged per data region instead of once per node

Oleg Valuyskiy created IGNITE-28099:
---------------------------------------

             Summary: 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


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:

Page-based evictions started. Consider increasing 'maxSize' on Data Region configuration: <region-name>

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 can be misleading in configurations with multiple data regions. If eviction starts in another region later, there will be no corresponding warning in the logs.

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)