org.neo4j.kernel.ha.lock
Class LocalDeadlockDetectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.neo4j.kernel.DeadlockDetectedException
org.neo4j.kernel.ha.lock.LocalDeadlockDetectedException
- All Implemented Interfaces:
- Serializable
public class LocalDeadlockDetectedException
- extends org.neo4j.kernel.DeadlockDetectedException
Temporary exception to aid in driving out a nasty "lock get stuck" issue in HA. Since it's subclasses
DeadlockDetectedException it will be invisible to users and code that already handle such
deadlock exceptions and retry. This exception is thrown instead of awaiting a lock locally on a slave
after it was acquired on the master, since applying a lock locally after master granted it should succeed,
or fail; it cannot wait for another condition.
While this work-around is in place there is more breathing room to figure out the real problem preventing
some local locks to be grabbed.
- Author:
- Mattias Persson
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LocalDeadlockDetectedException
public LocalDeadlockDetectedException(org.neo4j.kernel.impl.transaction.LockManager lockManager,
Transaction tx,
Object resource,
org.neo4j.kernel.impl.transaction.LockType type)
Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.