Jane He created CASSGO-25:
-----------------------------
Summary: Add default ReconnectionPolicy to doc
Key: CASSGO-25
URL: https://issues.apache.org/jira/browse/CASSGO-25
Project: Apache Cassandra Go driver
Issue Type: Improvement
Components: Documentation
Reporter: Jane He
The current `ClusterConfig` has the following
{code:java}
...
// Default retry policy to use for queries.
// Default: no retries.
RetryPolicy RetryPolicy
// ConvictionPolicy decides whether to mark host as down based on the
error and host info.
// Default: SimpleConvictionPolicy
ConvictionPolicy ConvictionPolicy
// Default reconnection policy to use for reconnecting before trying to
mark host as down.
ReconnectionPolicy ReconnectionPolicy
...{code}
As all the other `ClusterConfig` properties specify their default value, we
should specify default `ReconnectionPolicy` too
{code:java}
// Default reconnection policy to use for reconnecting before trying to
mark host as down.
// Default: ConstantReconnectionPolicy{MaxRetries: 3, Interval: 1
second}
ReconnectionPolicy ReconnectionPolicy{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]