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 2015/12/01 00:08:11 UTC

[jira] [Commented] (TRAFODION-1626) DTMCI STATS shows incredibly high transaction counts while sqstart is in progress

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

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

Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/196#discussion_r46218270
  
    --- Diff: core/sqf/src/tm/tools/dtmci.cpp ---
    @@ -472,23 +472,22 @@ void process_tmstats_node(bool pv_reset, int32 pv_nid, bool json)
     
         lv_error = TMSTATS(pv_nid, &lv_stats, pv_reset);
     
    -    if(json==false) {
    -        if (lv_error)
    -            printf("Node %d\t**Error %d.", pv_nid, lv_error);
    -        else
    -        {
    -            printf("Node %d:", pv_nid);
    -            print_counters(&lv_stats.iv_counts);
    -            print_txnStats(&lv_stats.iv_txn);
    -
    -            // Pool statistics
    -            printf("\n  Txn Pool:\t");
    -            print_poolStats(lv_stats.iv_transactionPool_stats);
    -            printf("\n  Thrd Pool:\t");
    -            print_poolStats(lv_stats.iv_threadPool_stats);
    -            printf("\n  RMMsg Pool:\t");
    -            print_poolStats(lv_stats.iv_RMMessagePool_stats);
    -        }
    +    if (lv_error) {
    +        printf("Node %d\t**Error %d.\n", pv_nid, lv_error);
    --- End diff --
    
    Should the error be reported as a JSON document in the JSON case?


> DTMCI STATS shows incredibly high transaction counts while sqstart is in progress
> ---------------------------------------------------------------------------------
>
>                 Key: TRAFODION-1626
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1626
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: dtm
>            Reporter: Venkat Muthuswamy
>            Assignee: Trina Krug
>
> When 'dtmci stats -j' command is invoked while the trafodion instance is still starting up, we see incredibly high numbers for the transaction counts. 
> $ dtmci stats -j
> [{"node": 0,"txnStats":{"txnBegins": 140727707549696,"txnAborts": 140334087297536,"txnCommits": 0}},{"node": 1,"txnStats":{"txnBegins": 140727707549696,"txnAborts": 140334087297536,"txnCommits": 0}},{"node": 2,"txnStats":{"txnBegins": 140727707549696,"txnAborts": 140334087297536,"txnCommits": 0}}]
> $ dtmci stats -j
> [{"node": 0,"txnStats":{"txnBegins": 140732063999184,"txnAborts": 140429416520192,"txnCommits": 0}},{"node": 1,"txnStats":{"txnBegins": 140732063999184,"txnAborts": 140429416520192,"txnCommits": 0}},{"node": 2,"txnStats":{"txnBegins": 140732063999184,"txnAborts": 140429416520192,"txnCommits": 0}}]



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