[jira] [Created] (IGNITE-8309) Cannot change WAL mode from client node

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

[jira] [Created] (IGNITE-8309) Cannot change WAL mode from client node

Anton Vinogradov (Jira)
Ilya Kasnacheev created IGNITE-8309:
---------------------------------------

             Summary: Cannot change WAL mode from client node
                 Key: IGNITE-8309
                 URL: https://issues.apache.org/jira/browse/IGNITE-8309
             Project: Ignite
          Issue Type: Bug
          Components: persistence
    Affects Versions: 2.5
            Reporter: Ilya Kasnacheev
            Assignee: Vladimir Ozerov


I have cluster of a few nodes with persistence region, and a few clients, obviously without persistence region.

When I try to do disableWal(cacheName) on client node, I observe the following exception:

{code}
Caused by: org.apache.ignite.IgniteCheckedException: Cannot change WAL mode because persistence is not enabled for cache(s) [caches=[data0], dataRegion=null]
        at org.apache.ignite.internal.processors.cache.WalStateManager.errorFuture(WalStateManager.java:759) ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at org.apache.ignite.internal.processors.cache.WalStateManager.init(WalStateManager.java:292) ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
        at org.apache.ignite.internal.processors.cache.GridCacheProcessor.changeWalMode(GridCacheProcessor.java:3045) ~[ignite-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
{code}

From server node I can disable and enable WAL without problems. Since it's a cluster-wide operations, I expect it to be doable from client also.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)