Thread locked at transaction time-out for higher time-out limit values

33 views
Skip to first unread message

seriou...@gmail.com

unread,
Mar 23, 2015, 4:01:56 AM3/23/15
to xad...@googlegroups.com
When tried to set transaction time-out limit to value 120 and the time-out occurred, the thread became blocked indefinitely in 
NativeSession.rollbackAsynchronously()

on line #114 with code 
asynchronousRollbackLock.lock();

But if the time-out limit is set to lower value ( < 70 ), the exception informing about time-out is properly thrown.

The version of xadisk is 1.2.2 with Java 1.8 and Linux.

Has anyone experienced this? Is there way how to fix it or is there any workaround?

Nitin Verma

unread,
Mar 24, 2015, 1:43:54 PM3/24/15
to xad...@googlegroups.com, seriou...@gmail.com
Hi,

Can you please check which thread is holding the "asynchronousRollbackLock" (i guess it is the user application thread) and which thread is blocked waiting for this lock in rollbackAsynchronously (i guess it is the transaction-timeout-detector thread). Please check the call stack of the first thread to find out where it is holding on to that lock, causing the second thread to block.

Thanks,
Nitin

Reply all
Reply to author
Forward
0 new messages