Github user venkat1m commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/1061#discussion_r111296731
--- Diff: core/sqf/monitor/linux/zclient.cxx ---
@@ -53,6 +53,9 @@
// The monitors register their znodes under the cluster znode
#define ZCLIENT_CLUSTER_ZNODE "/cluster"
+// zookeeper connection retry count
+#define ZOOKEEPER_RETRY_COUNT 3
--- End diff --
Wouldn't it be better to make this an environment variable or monitor
config setting that can be changed instead of a hardcoded retry count of 3.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---