Added a code to allow GTM-Proxy to do the following:
1) Optionally retry connection to current GTM. Specifies count, idle and interval.
2) Optionally waits reconnect command. Specifies count, idle and interval.
To reduce the number of options, I'm not willing to introduce "option" flag to ask yes or no. Instead, maybe we should consider that all zero menas no retry or no reconnect. This code has not been done yet. Maybe next Monday.
Anyway, need to log this activity.
----
Gee! After I made the first commit of this feature, I found there're couple of issues to be fixed before tested.
1) Description of new option GTM_OPTNAME_RETRY_IDLE ... This is wrong!!
2) GTM_OPTNAME_ERR_WAIT_IDLE definition is missing!!
I need to fix them as well as documentation.
Now, GTM_OPTNAME_ERR_WAIT_OPT is removed. So, for connection retry and wait for reconnect,
if all the idle, count and interval are zero, then no such action will be made.
If communication error is detected and no retry, no reconnect wait are specified, then this will cause FATAL error because GTM-Proxy cannot continue service.
---
Koichi
No comments:
Post a Comment