ArrayIndexOutOfBoundsException during TransactionTest2.transactionsWithInterrupts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Akiban Persistit |
Fix Released
|
Critical
|
Peter Beaman |
Bug Description
Persistit r347
Failure during automated build on Jenkins:
http://
First time I've ever seen this, but it certainly looks bad. Nothing left over on the instance this ran on but an inspection and some thought experiments are probably in order. Test output copied below.
Error Message
Starting and ending balance don't agree expected:<0> but was:<-12587>
Stacktrace
java.lang.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at com.persistit.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.junit.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
at org.apache.
at org.apache.
Standard Output
Computing balance
Starting balance is 0
Completed transactions: 738046
Failed transactions: 1
Retried transactions: 3322
CurrentCount=163 AbortedCount=8 LongRunningCount=0 FreeCount=4,950
atCache=
Ending balance is -12587 which DISAGREES
Standard Error
<snip>
java.lang.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at com.persistit.
at java.lang.
<snip>
The snips in stderr are dozens of "Transaction neither committed nor rolled back" messages. Full log attached.
Related branches
- Nathan Williams: Approve
-
Diff: 52 lines (+21/-4)1 file modifiedsrc/main/java/com/persistit/TransactionIndex.java (+21/-4)
Changed in akiban-persistit: | |
milestone: | none → 3.1.7 |
Changed in akiban-persistit: | |
milestone: | 3.1.7 → 3.1.8 |
Changed in akiban-persistit: | |
status: | Confirmed → Fix Released |
I also saw an instance of this recently. Elevating priority to Critical.