Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8238

Operation can fails with unexpected RuntimeException when node is stopping.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: general
    • Labels:
      None

      Description

      Operation can fails with RuntimeException when node is stoped in other thread. 

      It is not clear from javadoc that operation can throws RuntimeException.
      We should add it to javadoc or e.g. throws IllegalStateException which already present in java cache api javadoc.

      Failure in thread: Thread [id=3484, name=updater-2]
      java.lang.RuntimeException: Failed to perform cache update: node is stopping.
      at org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.checkpointReadLock(GridCacheDatabaseSharedManager.java:1350)
      at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager$GridCacheDataStore.purgeExpired(GridCacheOffheapManager.java:1685)
      at org.apache.ignite.internal.processors.cache.persistence.GridCacheOffheapManager.expire(GridCacheOffheapManager.java:796)
      at org.apache.ignite.internal.processors.cache.GridCacheTtlManager.expire(GridCacheTtlManager.java:197)
      at org.apache.ignite.internal.processors.cache.GridCacheUtils.unwindEvicts(GridCacheUtils.java:834)
      at org.apache.ignite.internal.processors.cache.GridCacheGateway.leaveNoLock(GridCacheGateway.java:240)
      at org.apache.ignite.internal.processors.cache.GridCacheGateway.leave(GridCacheGateway.java:225)
      at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.onLeave(GatewayProtectedCacheProxy.java:1708)
      at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.putAll(GatewayProtectedCacheProxy.java:945)
      at org.apache.ignite.internal.processors.cache.persistence.IgnitePdsContinuousRestartTest$1.call(IgnitePdsContinuousRestartTest.java:261)
      at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sharpler Alexander Menshikov
                Reporter:
                amashenkov Andrew Mashenkov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: