diff --git a/osscluster.go b/osscluster.go index f32d9063..7925d2c6 100644 --- a/osscluster.go +++ b/osscluster.go @@ -77,6 +77,10 @@ type ClusterOptions struct { CredentialsProviderContext func(ctx context.Context) (username string, password string, err error) StreamingCredentialsProvider auth.StreamingCredentialsProvider + // MaxRetries is the maximum number of retries before giving up. + // For ClusterClient, retries are disabled by default (set to -1), + // because the cluster client handles all kinds of retries internally. + // This is intentional and differs from the standalone Options default. MaxRetries int MinRetryBackoff time.Duration MaxRetryBackoff time.Duration