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