package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetAllTiKVStores returns all TiKV stores registered to the PD client.
# Constants
ErrorOnTiFlash causes GetAllTiKVStores to return error when the store is found to be a TiFlash node.
SkipTiFlash causes GetAllTiKVStores to skip the store when it is found to be a TiFlash node.
TiFlashOnly caused GetAllTiKVStores to skip the store which is not a TiFlash node.
# Interfaces
StoreMeta is the required interface for a watcher.
# Type aliases
StoreBehavior is the action to do in GetAllTiKVStores when a non-TiKV store (e.g.