Recurring UnsupportedOperationException from RHDG 8.0 PERSISTENCE

Solution Verified - Updated -

Issue

  • Adding write-behind to have a asynchronous persistence cause an UnsupportedOperationException WARN message within the logfiles, what is wrong here?
  • The server throws an Exception every minute after start even without any load or data
WARN  (expiration-thread--p6-t1) [org.infinispan.PERSISTENCE] ISPN000026: Caught exception purging data container! java.lang.UnsupportedOperationException
    at org.infinispan.persistence.spi.AdvancedCacheExpirationWriter.purge(AdvancedCacheExpirationWriter.java:59)
    at org.infinispan.persistence.async.AdvancedAsyncCacheWriter.purge(AdvancedAsyncCacheWriter.java:20)
    at org.infinispan.persistence.manager.PersistenceManagerImpl.lambda$purgeExpired$9(PersistenceManagerImpl.java:527)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:530)
    at org.infinispan.expiration.impl.ClusterExpirationManager.processExpiration(ClusterExpirationManager.java:111)
    at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:314)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
        <distributed-cache mode="SYNC" name="dummy" owners="2">
            <persistence>
                <file-store shared="false" fetch-state="true" preload="false">
                    <write-behind modification-queue-size="200" fail-silently="false"/>
                </file-store>
            </persistence>
        </distributed-cache>

Environment

  • Red Hat Data Grid (RHDG)
    • 8.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In