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

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

GitHub user CoderSong2015 reopened a pull request:

    https://github.com/apache/trafodion/pull/1487

    [TRAFODION-3003]Trafodion keepalive support

    Keepalive could be configured by modifying file 
src/main/java/org/trafodion/dcs/Constants.java or 
src/main/resources/dcs-default.xml
    
    Modify variable DCS_SERVER_PROGRAM_KEEPALIVE_OPT;
    
    It's a string with parameter ENABLE IDLETIME INTERTIME RETRYCNT (Seconds)
    ENABLE=enable/unenable/default ,IDLETIME= number 
,INTERTIME=number,RETRYCNT=number
    e.g:
    ENABLE=enable,IDLETIME=300,INTERTIME=5,RETRYCNT=3
    
    Default value is 1,3600,3,20(Only effective when value configured is set 
incorrectly)
    
    The value will be read in when mxosrvr start. Mxosrvr will set the socket 
after getting a connection.

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

    $ git pull https://github.com/CoderSong2015/Apache-Trafodion keepalive

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

    https://github.com/apache/trafodion/pull/1487.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 #1487
    
----
commit 65bdc2f1365241b089c8568dc2a2aea52939916a
Author: Haolin.song <403438485@...>
Date:   2018-03-20T15:31:31Z

    [TRAFODION-3003]Trafodion keepalive support
    
    Keepalive could be configured by modifying file 
src/main/java/org/trafodion/dcs/Constants.java
    
    Modify variable 
DCS_SERVER_PROGRAM_TCP_KEEPALIVE_STATUS/IDLETIME/INTERVAL/RETRYCOUNT;
    
    DCS_SERVER_PROGRAM_TCP_KEEPALIVE_STATUS has three 
value:enable,default,unenable;
    
    Default value is enable,3600,3,20(Only effective when value configured is 
set incorrectly)
    
    The value will be read in when mxosrvr start. Mxosrvr will set the socket 
after getting a connection.

----


> Trafodion keepalive support
> ---------------------------
>
>                 Key: TRAFODION-3003
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3003
>             Project: Apache Trafodion
>          Issue Type: New Feature
>          Components: connectivity-mxosrvr
>    Affects Versions: 2.4
>            Reporter: haolin.song
>            Assignee: haolin.song
>            Priority: Major
>
> We need to make sure the connection exists when the client does not operate 
> for a long time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to