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

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

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

    
https://github.com/apache/incubator-trafodion/pull/1272#discussion_r146433587
  
    --- Diff: core/conn/odb/src/odb.c ---
    @@ -4156,18 +4156,17 @@ static void sigcatch(int sig)
         exit ( EX_SIGNAL );
     #else 
         if ( tn == 1 ) { /* single threaded */
    -        tclean( 0 );
             gclean();
    -        exit( EX_SIGNAL );
         } else {
             for ( i = 0 ; i < tn ; i++ ) {
    -            if ( !pthread_kill(thid[i], 0) ) {  /* If this thread is 
alive... */
    +            if ( pthread_kill(thid[i], 0) ) {  /* If this thread is 
alive... */
    --- End diff --
    
    Yes, I misunderstood it.


> When the timeout is set, odb is still hang
> ------------------------------------------
>
>                 Key: TRAFODION-2773
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2773
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: db-utility-odb
>    Affects Versions: any
>            Reporter: pengpeng.yang
>            Priority: Minor
>
> When I use odb to load the data, I encountered the odb program hung. And odb 
> has been disconnected from mxosrvr. Then I set the timeout 3600, then the 
> problem still exists.
> The following is odb process:
> #ps -ef |grep odb
> root     49457 60391  0 10:25 pts/0    00:00:00 grep odb
> 503      59013  5043  5 02:42 ?        00:25:35 ./odb64luo -u trafodion -p ?  
>      -d traf -timeout 3600 -l src 
> odb_performance_loadfile/load_data_performance tgt 
> trafodion.odb_load_perf.big_table21 rows 50000 parallel 8 loadcmd UL fs | sq "



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to