Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2119

Write log message in ExpiredTransactionScanner when an entry is moved

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 5.0.2
    • 4.17.15
    • Recovery
    • None

    Description

      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.").
      }

      Attachments

        Activity

          People

            rhn-support-sappleton Shaun Appleton
            rhn-support-lakagwu Lami Akagwu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: