You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
127170: server: do not initialize cluster version to minimum supported r=stevendanna a=renatolabs
Previously, shared-process tenants would initialize their view of the cluster version early and set it to the `MinSupportedVersion` as a "safe" option. However, that setting can likely be wrong, especially now that we plan to support skip-version upgrades.
In this commit, we remove that code and rely on the initialization that happens from storage in `preStart`. This means that we now expose a non-negligible amount of code to a state where we don't have an initialized cluster version. However, having that error out is better than have code assume a potentially wrong version.
A similar discussion and approach happened for separate process tenants a while ago: see #100684 and #104859.
Fixes: #126754
Release note: None
Co-authored-by: Renato Costa <renato@cockroachlabs.com>
0 commit comments