package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
GetIncompatibleChangefeedsWithSafeTS gets CDC changefeed that may not compatible with the safe ts and wraps them to a map.
GetRunningChangefeeds gets CDC changefeed information and wraps them to a map for CDC >= v6.2, the etcd key format is /tidb/cdc/<clusterID>/<namespace>/changefeed/info/<changefeedID> for CDC <= v6.1, the etcd key format is /tidb/cdc/changefeed/info/<changefeedID>.
# Constants
CDCPrefix is the prefix of CDC information in etcd.
CDCPrefixV61 is the prefix of CDC information in etcd.
ChangefeedPath is the path of changefeed information in etcd.
# Structs
CDCNameSet saves CDC changefeed's information.