Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2253

TLOG repeatedly reporting exceptions in deleteEntriesOlderThanASN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • dtm
    • None

    Description

      TLOG streams errors like the following:
      2016-09-28 17:26:08,008 ERROR dtm.TmAuditTlog: deleteEntriesOlderThanASNX, received incorrect result size: 0 ASN: 19
      2016-09-28 17:26:08,013 ERROR dtm.TmAuditTlog: deleteEntriesOlderThanASNX retrying due to Exception:
      java.lang.Exception: Wrong result size in deleteEntriesOlderThanASNX
      at org.trafodion.dtm.TmAuditTlog$TlogCallable.deleteEntriesOlderThanASNX(TmAuditTlog.java:273)
      at org.trafodion.dtm.TmAuditTlog$3.call(TmAuditTlog.java:2213)
      at org.trafodion.dtm.TmAuditTlog$3.call(TmAuditTlog.java:2209)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      2016-09-28 17:26:08,018 ERROR dtm.TmAuditTlog: Exceeded retry attempts (0) in deleteEntriesOlderThanASNX for ASN: 19

      The problem is in the refresh logic. The code is using an uninitialized variable as a loop limit, so it is unclear how many refresh iterations it might try. In this case, 0 <Exceeded retry attempts (0) >and as a consequence it repeatedly gets no results back from the server.

      Attachments

        Issue Links

          Activity

            People

              sbroeder Sean Broeder
              sbroeder Sean Broeder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: