Closed ZhouXing19 closed 3 years ago
@andreimatei Sorry for the late reply. Thanks for the suggestion! I am trying to use the updates
endpoint of the CockroachDB cluster to get the latest stable CRDB's binaries. A related PR was made in the Registration repo.
resolves #83
This commit sets the default mode for database downloads to "Download the latest stable version of CRDB".
We get the latest stable version through https://register.cockroachdb.com/api/updates, and save it to a local file with
cockroach-majorv-minorv-patch
naming pattern in thetmp
directory. The downloading is OS-specific.Problem unsolved: the tenant tests with proxy always fail with stable CRDB, but pass with latest non-stable CRDB.