Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISPN-777 Eager cluster wide locks not cleaned upon rollback
* Increase the scope of the JIRA to handle any remote locks * Deal with race condition around transaction validity check and lock being acquired * Add more logging and better toString() implementations of classes * Add a stress test to recreate this behaviour
- Loading branch information
1 parent
a919c50
commit 73821c6
Showing
12 changed files
with
322 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
core/src/main/java/org/infinispan/transaction/xa/InvalidTransactionException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.infinispan.transaction.xa; | ||
|
||
import org.infinispan.CacheException; | ||
|
||
/** | ||
* Thrown if an operation is to be performed on an invalid transaction context. | ||
* | ||
* @author Manik Surtani | ||
* @since 4.2 | ||
*/ | ||
public class InvalidTransactionException extends CacheException { | ||
public InvalidTransactionException() { | ||
} | ||
|
||
public InvalidTransactionException(Throwable cause) { | ||
super(cause); | ||
} | ||
|
||
public InvalidTransactionException(String msg) { | ||
super(msg); | ||
} | ||
|
||
public InvalidTransactionException(String msg, Throwable cause) { | ||
super(msg, cause); | ||
} | ||
} |
Oops, something went wrong.