org.infinispan.persistence.spi.PersistenceException: Interrupted purging JdbcBinaryStore

JBoss Issue Tracker | Ladislav Thon | 10 months ago
  1. 0

    In a job {{eap-7x-failover-db-session-shutdown-repl-sync-postgresql}} (i.e., a REPL_SYNC failover test where sessions are stored in a PostgreSQL database, but I'm not sure how significant is that), I've seen these {{InterruptedException}}-s thrown in Infinispan during server shutdown: {code} 11:11:17,100 ERROR [org.infinispan.persistence.jdbc.binary.JdbcBinaryStore] (pool-9-thread-1) ISPN008001: Failed clearing cache store: org.infinispan.persistence.spi.PersistenceException: Interrupted purging JdbcBinaryStore at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:316) at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:373) at org.infinispan.expiration.impl.ClusterExpirationManager.processExpiration(ClusterExpirationManager.java:88) at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:230) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) at java.util.concurrent.ExecutorCompletionService.take(ExecutorCompletionService.java:193) at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.unlockCompleted(JdbcBinaryStore.java:362) at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:312) ... 10 more 11:11:17,102 WARN [org.infinispan.persistence.manager.PersistenceManagerImpl] (pool-9-thread-1) ISPN000026: Caught exception purging data container!: org.infinispan.persistence.spi.PersistenceException: Interrupted purging JdbcBinaryStore at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:352) at org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:373) at org.infinispan.expiration.impl.ClusterExpirationManager.processExpiration(ClusterExpirationManager.java:88) at org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:230) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1220) at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:335) at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:439) at java.util.concurrent.ExecutorCompletionService.take(ExecutorCompletionService.java:193) at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.unlockCompleted(JdbcBinaryStore.java:362) at org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:348) ... 10 more {code} Not really sure who would be interrupting the thread, but since the exceptions occur _in the middle_ of the test (the server was started again later), it's unlikely that it comes from the test environment. Also, not sure if there's a connection to WFLY-5859.

    JBoss Issue Tracker | 10 months ago | Ladislav Thon
    org.infinispan.persistence.spi.PersistenceException: Interrupted purging JdbcBinaryStore
  2. 0

    For Loop Jade

    GitHub | 3 months ago | timrijckaert
    java.lang.InterruptedException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 6114#260213318

    GitHub | 3 weeks ago | Lineflyer
    java.lang.RuntimeException: java.lang.InterruptedException
  5. 0

    [JENKINS-24449] slave cleanup causes jobs to hang - Jenkins JIRA

    jenkins-ci.org | 1 month ago
    org.jenkinsci.lib.envinject.EnvInjectException: java.lang.InterruptedException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InterruptedException

      No message provided

      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait()
    2. Java RT
      ExecutorCompletionService.take
      1. java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
      2. java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
      3. java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
      4. java.util.concurrent.ExecutorCompletionService.take(ExecutorCompletionService.java:193)
      4 frames
    3. Infinispan JDBC CacheStore
      JdbcBinaryStore.purge
      1. org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.unlockCompleted(JdbcBinaryStore.java:362)
      2. org.infinispan.persistence.jdbc.binary.JdbcBinaryStore.purge(JdbcBinaryStore.java:312)
      2 frames
    4. Infinispan Core
      PersistenceManagerImpl.purgeExpired
      1. org.infinispan.persistence.manager.PersistenceManagerImpl.purgeExpired(PersistenceManagerImpl.java:373)
      1 frame
    5. org.infinispan.expiration
      ExpirationManagerImpl$ScheduledTask.run
      1. org.infinispan.expiration.impl.ClusterExpirationManager.processExpiration(ClusterExpirationManager.java:88)
      2. org.infinispan.expiration.impl.ExpirationManagerImpl$ScheduledTask.run(ExpirationManagerImpl.java:230)
      2 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames