TiKVPDConfig

(Appears on: TiKVConfig)

FieldDescription
endpoints
[]string
(Optional)

The PD endpoints for the client.

Default is empty.

retry-interval
string
(Optional)

The interval at which to retry a PD connection initialization.

Default is 300ms. Optional: Defaults to 300ms

retry-max-count
int64
(Optional)

The maximum number of times to retry a PD connection initialization.

Default is isize::MAX, represented by -1. Optional: Defaults to -1

retry-log-every
int64
(Optional)

If the client observes the same error message on retry, it can repeat the message only every n times.

Default is 10. Set to 1 to disable this feature. Optional: Defaults to 10