You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/30 01:55:21 UTC

[jira] [Commented] (TRAFODION-2253) TLOG repeatedly reporting exceptions in deleteEntriesOlderThanASN

    [ https://issues.apache.org/jira/browse/TRAFODION-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15534740#comment-15534740 ] 

ASF GitHub Bot commented on TRAFODION-2253:
-------------------------------------------

GitHub user sbroeder opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/735

    Fix for TLOG looping in deleteEntriesOlderThanASN; JIRA [TRAFODION-2253]

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sbroeder/incubator-trafodion sean_traf

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/735.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #735
    
----
commit 0ccafa240eb1ee225226c18c1396204830bea8ad
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-27T03:13:23Z

    Fix to handle bad TM ZK node entries during recovery
    This is the second fix for JIRA [TRAFODION-2236]

commit fd4fadffab1f969dd1e3e735b01a9c62d9bb9766
Author: Sean Broeder <se...@esgyn.com>
Date:   2016-09-27T17:22:02Z

    Update TransactionManager.java

commit d7232d3f816129464a3449cea56a10919794ddd2
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-28T23:19:20Z

    Merge branch 'master' of github.com:apache/incubator-trafodion into sean_traf

commit b352dd8f1fdab8f73bf2f4dea3b0ac757dd6ad29
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-28T23:20:57Z

    Fix to handle bad TM ZK node entries during recovery

commit 98a1ec6bdf0eb9b69fbb6f4d8c908e657638ba54
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-28T23:20:57Z

    Fix to handle bad TM ZK node entries during recovery

commit a62e76faf1753a02dd9095aa1061829b537da49f
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-29T15:14:38Z

    Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf
    
    Conflicts:
    	core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java

commit 6ee98cab2a8adf07df365131f431f1ded3e15d3a
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-29T15:14:38Z

    Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf
    
    Conflicts:
    	core/sqf/src/seatrans/tm/hbasetmlib2/src/main/java/org/trafodion/dtm/HBaseTxClient.java

commit c1b22cf41eeb56c3002a2ca86d2b204772667b9d
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-29T16:14:16Z

    Merge remote branch 'sbroeder_inctraf/sean_traf' into sean_traf

commit 66030b519c49b4abe66b8b49b9ddc63a9543d8fc
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-29T18:55:39Z

    Addressing review comments

commit 5a720fcf9f3f857ece4b32ca37a8bb0e10e6f8f5
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-30T01:49:23Z

    Merge branch 'master' of github.com:apache/incubator-trafodion into sean_traf

commit cc1f8f30726bb72725bc65f37338f1fc8ba5685e
Author: Sean Broeder <sb...@edev06.esgyn.local>
Date:   2016-09-30T01:50:11Z

    Fix for TLOG looping in deleteEntriesOlderThanASN
    JIRA [TRAFODION-2253]

----


> 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)