Github user karanmehta93 commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/307#discussion_r129450258
--- Diff:
src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java ---
@@ -61,6 +61,7 @@
private static boolean standaloneEnabled = true;
private static boolean reconfigEnabled = false;
+ private static int requestWarnThresholdMs = 10000;
--- End diff --
To be frank, I am newbie and haven't debugged this in detail. This value is
purely seen based on the 'stat' command on our test cluster. @apurtell might be
able to tell more practical values.
@skamille I would prefer turning this on by default, although the default
value needs to be discussed. In my understanding, this helps in situations when
we see timeouts at application level, such a log can might help narrow down
towards the cause.
---
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.
---