Sean Broeder created TRAFODION-2253:
---------------------------------------

             Summary: TLOG repeatedly reporting exceptions in 
deleteEntriesOlderThanASN
                 Key: TRAFODION-2253
                 URL: https://issues.apache.org/jira/browse/TRAFODION-2253
             Project: Apache Trafodion
          Issue Type: Bug
          Components: dtm
            Reporter: Sean Broeder
            Assignee: Sean Broeder


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to