Translated message

A translation of this page exists in English.

タイムアウト例外 "ISPN000299: Unable to acquire lock after 0 milliseconds" の原因

Solution In Progress - Updated -

Issue

  • "ISPN000299: Unable to acquire lock after 0 milliseconds for key" というログメッセージが表示されますが、キャッシュは acquire-timeout が 0 より大きい場合にロックするように設定されています。これは何が原因ですか?
  • ログファイルに "ISPN000299" が原因のメッセージがありますが、これはなぜですか?
WARN  [org.infinispan.persistence.manager.PersistenceManagerImpl] (pool-14-thread-1) ISPN000026: Caught exception purging data container!: java.util.concurrent.CompletionException: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node2, see cause for remote stack trace
    at org.infinispan.util.concurrent.CompletionStages.join(CompletionStages.java:83)
    at org.infinispan.expiration.impl.InternalExpirationManager.handleInStoreExpiration(InternalExpirationManager.java:60)
    ...
Caused by: org.infinispan.remoting.RemoteException: ISPN000217: Received exception from node2, see cause for remote stack trace
    at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:28)
    at org.infinispan.remoting.transport.ValidSingleResponseCollector.withException(ValidSingleResponseCollector.java:37)
    at org.infinispan.remoting.transport.ValidSingleResponseCollector.addResponse(ValidSingleResponseCollector.java:21)
    at org.infinispan.remoting.transport.impl.SingleTargetRequest.receiveResponse(SingleTargetRequest.java:52)
    at org.infinispan.remoting.transport.impl.SingleTargetRequest.onResponse(SingleTargetRequest.java:35)
    at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:52)
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1380)
    ...
Caused by: org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 0 milliseconds for key WrappedByteArray{bytes=[B0x0...[..], hashCode=-1234} and requestor CommandInvocation:node1:12982027. Lock is held by CommandInvocation:node2:12720556
    at org.infinispan.util.concurrent.locks.impl.DefaultLockManager$KeyAwareExtendedLockPromise.get(DefaultLockManager.java:288)
    ...
    at org.infinispan.commands.Visitor.visitRemoveExpiredCommand(Visitor.java:66)
    ... more

Environment

  • Red Hat Data Grid (RHDG)
    • 7
    • 8

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content