mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
debug statement to assist with debugging transaction rollback.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -329,6 +329,14 @@ public class RetryingTransactionHelper
|
||||
{
|
||||
if (txn.getStatus() == Status.STATUS_MARKED_ROLLBACK)
|
||||
{
|
||||
if (logger.isDebugEnabled())
|
||||
{
|
||||
logger.debug("\n" +
|
||||
"Transaction marked for rollback: \n" +
|
||||
" Thread: " + Thread.currentThread().getName() + "\n" +
|
||||
" Txn: " + txn + "\n" +
|
||||
" Iteration: " + count);
|
||||
}
|
||||
// Something caused the transaction to be marked for rollback
|
||||
// There is no recovery or retrying with this
|
||||
txn.rollback();
|
||||
|
Reference in New Issue
Block a user