Skip to content

Commit 010b7b3

Browse files
authored
Merge pull request #123284 from rail/mint-24.1
release-24.1: mint 24.1 version
2 parents 04c2d5a + dcf25b2 commit 010b7b3

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

docs/generated/settings/settings-for-tenants.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,4 +347,4 @@ trace.snapshot.rate duration 0s if non-zero, interval at which background trace
347347
trace.span_registry.enabled boolean true if set, ongoing traces can be seen at https://<ui>/#/debug/tracez application
348348
trace.zipkin.collector string the address of a Zipkin instance to receive traces, as <host>:<port>. If no port is specified, 9411 will be used. application
349349
ui.display_timezone enumeration etc/utc the timezone used to format timestamps in the ui [etc/utc = 0, america/new_york = 1] application
350-
version version 23.2-upgrading-to-24.1-step-026 set the active cluster version in the format '<major>.<minor>' application
350+
version version 24.1 set the active cluster version in the format '<major>.<minor>' application

docs/generated/settings/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,6 @@
302302
<tr><td><div id="setting-trace-span-registry-enabled" class="anchored"><code>trace.span_registry.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>if set, ongoing traces can be seen at https://&lt;ui&gt;/#/debug/tracez</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
303303
<tr><td><div id="setting-trace-zipkin-collector" class="anchored"><code>trace.zipkin.collector</code></div></td><td>string</td><td><code></code></td><td>the address of a Zipkin instance to receive traces, as &lt;host&gt;:&lt;port&gt;. If no port is specified, 9411 will be used.</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
304304
<tr><td><div id="setting-ui-display-timezone" class="anchored"><code>ui.display_timezone</code></div></td><td>enumeration</td><td><code>etc/utc</code></td><td>the timezone used to format timestamps in the ui [etc/utc = 0, america/new_york = 1]</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
305-
<tr><td><div id="setting-version" class="anchored"><code>version</code></div></td><td>version</td><td><code>23.2-upgrading-to-24.1-step-026</code></td><td>set the active cluster version in the format &#39;&lt;major&gt;.&lt;minor&gt;&#39;</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
305+
<tr><td><div id="setting-version" class="anchored"><code>version</code></div></td><td>version</td><td><code>24.1</code></td><td>set the active cluster version in the format &#39;&lt;major&gt;.&lt;minor&gt;&#39;</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
306306
</tbody>
307307
</table>

pkg/clusterversion/cockroach_versions.go

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@ const (
313313
// the system tenant to ensure it is a superset of secondary tenants.
314314
V24_1_AddSpanCounts
315315

316+
// V24_1 is CockroachDB v24.1. It's used for all v24.1.x patch releases.
317+
V24_1
318+
316319
numKeys
317320
)
318321

@@ -382,6 +385,7 @@ var versionTable = [numKeys]roachpb.Version{
382385
V24_1_EstimatedMVCCStatsInSplit: {Major: 23, Minor: 2, Internal: 22},
383386
V24_1_ReplicatedLockPipelining: {Major: 23, Minor: 2, Internal: 24},
384387
V24_1_AddSpanCounts: {Major: 23, Minor: 2, Internal: 26},
388+
V24_1: {Major: 24, Minor: 1, Internal: 0},
385389
}
386390

387391
// Latest is always the highest version key. This is the maximum logical cluster
@@ -397,14 +401,6 @@ const MinSupported Key = V23_1
397401
// also provided as a constant for convenience.
398402
const PreviousRelease Key = V23_2
399403

400-
// V24_1 is a placeholder that will eventually be replaced by the actual 24.1
401-
// version Key, but in the meantime it points to the latest Key. The placeholder
402-
// is defined so that it can be referenced in code that simply wants to check if
403-
// a cluster is running 24.1 and has completed all associated migrations; most
404-
// version gates can use this instead of defining their own version key if they
405-
// only need to check that the cluster has upgraded to 24.1.
406-
const V24_1 = Latest
407-
408404
// DevelopmentBranch must be true on the main development branch but should be
409405
// set to false on a release branch once the set of versions becomes append-only
410406
// and associated upgrade implementations are frozen.
@@ -422,7 +418,7 @@ const DevelopmentBranch = false
422418
// version key, e.g. to V23_2 on the release-23.2 branch once it is minted.
423419
// Setting it has the effect of ensuring no versions are subsequently added (see
424420
// TestFinalVersion).
425-
const finalVersion Key = -1
421+
const finalVersion Key = V24_1
426422

427423
// Version returns the roachpb.Version corresponding to a key.
428424
func (k Key) Version() roachpb.Version {

0 commit comments

Comments
 (0)