JTaky commented on code in PR #24563:
URL: https://github.com/apache/flink/pull/24563#discussion_r1540736177
##########
docs/layouts/shortcodes/generated/high_availability_configuration.html:
##########
@@ -68,6 +80,12 @@
<td>Integer</td>
<td>Defines the session timeout for the ZooKeeper session in
ms.</td>
</tr>
+ <tr>
+
<td><h5>high-availability.zookeeper.client.simulated-session-expiration-percent</h5></td>
+ <td style="word-wrap: break-word;">(none)</td>
+ <td>Integer</td>
+ <td>Curator has the option of attempting to monitor session
expiration above what is provided by ZooKeeper. The percentage set by this
method determines how and if Curator will check for session expiration. If it
is set to 0, Curator does not do any additional checking for session
expiration. If a positive number is set, Curator will check for session
expiration as follows: when ZooKeeper sends a Disconnect event, Curator will
start a timer. If re-connection is not achieved before the elapsed time exceeds
the negotiated session time multiplied by the session expiration percent,
Curator will simulate a session expiration. Due to timing/network issues, it is
not possible for a client to match the server's session timeout with complete
accuracy. Thus, the need for a session expiration percentage.If not set the
default configuration for a Curator would be used.</td>
Review Comment:
Thanks for the advice.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]