cockroachdb / cockroach-go

Packages for go clients.
Apache License 2.0
160 stars 70 forks source link

Use `start` if version is <= 19.1 #85

Closed rafiss closed 4 years ago

rafiss commented 4 years ago

The previous retry logic was broken due to how the package handles errors.

Now, we check the version up front, and use start if necessary.

The version package is copied from the cockroachdb repo.

rafiss commented 4 years ago

Going to take the LGTM and merge since this it is a temporary workaround and 19.1 backports are blocked right now.