[jira] [Created] (IGNITE-6721) Data page evictions do not work in mixed persistence mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6721) Data page evictions do not work in mixed persistence mode

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-6721:
----------------------------------------

             Summary: Data page evictions do not work in mixed persistence mode
                 Key: IGNITE-6721
                 URL: https://issues.apache.org/jira/browse/IGNITE-6721
             Project: Ignite
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
    Affects Versions: 2.3
            Reporter: Alexey Goncharuk
            Assignee: Alexey Goncharuk
             Fix For: 2.3


After IGNITE-6030 data page evictions are broken if in-memory caches are mixed with persistence-enabled caches.
The problem is in page eviction tracker creation code:
{code}
        if (plc.getPageEvictionMode() == DataPageEvictionMode.DISABLED || CU.isPersistenceEnabled(cctx.gridConfig()))
            return new NoOpPageEvictionTracker();
{code}

We should check not the global configuration, but the data region configuration.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)