[
https://issues.jboss.org/browse/JBTM-2119?page=com.atlassian.jira.plugin....
]
Michael Musgrove resolved JBTM-2119.
------------------------------------
Assignee: Shaun Appleton (was: Tom Jenkinson)
Fix Version/s: 5.0.2
Resolution: Done
All relevant PR tests pass. Note the XTS test failure is unrelated and is due to
JBTM-2131
Write log message in ExpiredTransactionScanner when an entry is
moved
----------------------------------------------------------------------
Key: JBTM-2119
URL:
https://issues.jboss.org/browse/JBTM-2119
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: Recovery
Affects Versions: 4.17.15
Reporter: Lami Akagwu
Assignee: Shaun Appleton
Priority: Minor
Fix For: 5.0.2
When the ExpiredTransactionScanner moves a record, there is no log entry about what it
has done. It should be more verbose i.e. a WARN message
public class ExpiredTransactionScanner implements ExpiryScanner
.. ..
public boolean moveEntry (Uid newUid) throws ObjectStoreException
{
.. ..
if (!moved) {
tsLogger.i18NLogger.info_recovery_ExpiredTransactionStatusManagerScanner_3(newUid);
}
else
res = _recoveryStore.remove_committed(newUid, _typeName);
}
Request to add WARN log entry to else block
if (!moved) {
tsLogger.i18NLogger.info_recovery_ExpiredTransactionStatusManagerScanner_3(newUid);
}
else
res = _recoveryStore.remove_committed(newUid, _typeName);
tsLogger.arjLoggerI18N.warn(""ExpiredTransactionScanner - log
" + newUid + " is assumed complete and will be moved.").
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira