pwinckles / hsqldb-deadlock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HSQLDB deadlock test

Demonstrates HSQLDB deadlock running CHECKPOINT when using MVCC.

# Build the jar
./mvnw -DskipTests clean package

# The following command will never terminate due to the deadlock
java -jar target/hsqldb-deadlock-1.0-SNAPSHOT-exec.jar MVCC

# The following command does not deadlock and terminates normally
java -jar target/hsqldb-deadlock-1.0-SNAPSHOT-exec.jar LOCKS

About

License:Apache License 2.0


Languages

Language:Java 90.5%Language:Just 9.5%