TiDB-run!
TiDB Source Code
Compute compute
Storage storage
Scheduling scheduling
func newStoreWithRetry(path string, maxRetries int) (kv.Storage, error) { storeURL, err := url.Parse(path) if err != nil { return nil, err } name := strings.ToLower(storeURL.Scheme) d, ok := stores[name] if !ok { return nil, errors.Errorf("invalid uri format, storage %s is not registered", name) } var s kv.Storage err = util.RunWithRetry( ...