GitHub user CoderSong2015 opened a pull request:
https://github.com/apache/trafodion/pull/1487
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 06c9a95d34203b8476cb96cea07e86daff1724f7
Author: Haolin.song <403438485@...>
Date: 2018-03-20T15:31:31Z
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.
----
---