package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

FindServerInfo will find the schedulerID in all serverInfos.
GenerateExecID used to generate IP:port as exec_id value This function is used by distributed task execution to generate serverID string to correlated one subtask to on TiDB node to be executed.
GenerateSubtaskExecID generates the subTask execID.
GenerateSubtaskExecID4Test generates the subTask execID, only used in unit tests.
MatchServerInfo will check if the schedulerID matched in all serverInfos.