[jbossts-issues] [JBoss JIRA] (JBTM-2119) Write log message in ExpiredTransactionScanner when an entry is moved

Shaun Appleton (JIRA) issues at jboss.org
Tue Mar 25 12:05:13 EDT 2014


     [ https://issues.jboss.org/browse/JBTM-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaun Appleton updated JBTM-2119:
---------------------------------

    Git Pull Request: https://github.com/jbosstm/narayana/pull/623

    
>  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: Tom Jenkinson
>            Priority: Minor
>
> 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


More information about the jbossts-issues mailing list