Skip to content

Commit

Permalink
remove 'v' from downgrade version variable (cockroachdb#16107)
Browse files Browse the repository at this point in the history
  • Loading branch information
taroface authored Jan 25, 2023
1 parent 936109b commit 98854c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v22.2/upgrade-cockroach-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ By default, after all nodes are running the new version, the upgrade process wil

{% include_cached copy-clipboard.html %}
~~~ sql
> SET CLUSTER SETTING cluster.preserve_downgrade_option = '{{ previous_version }}';
SET CLUSTER SETTING cluster.preserve_downgrade_option = '{{ previous_version | slice: 1, 4 }}';
~~~

It is only possible to set this setting to the current cluster version.
Expand Down

0 comments on commit 98854c6

Please sign in to comment.