Skip to content

Commit 2b77e01

Browse files
craig[bot]jbowens
andcommitted
Merge #144117
144117: storage: enable new format major version r=RaduBerinde a=jbowens With cluster version finalization, enable the latest format major version in Pebble. Epic: none Release note: none Co-authored-by: Jackson Owens <[email protected]>
2 parents 0c0f246 + f14b65e commit 2b77e01

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

pkg/cli/testdata/ear-list

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ list
88
000004.log:
99
env type: Data, AES128_CTR
1010
keyID: bbb65a9d114c2a18740f27b6933b74f61018bd5adf545c153b48ffe6473336ef
11-
nonce: df 3a 47 28 5e fb 88 e3 9e b3 9b a3
12-
counter: 1505393531
11+
nonce: f9 35 f1 b1 73 c8 bc 8f bd f3 c0 1b
12+
counter: 3210085521
1313
000005.sst:
1414
env type: Data, AES128_CTR
1515
keyID: bbb65a9d114c2a18740f27b6933b74f61018bd5adf545c153b48ffe6473336ef
16-
nonce: 0c 07 ac 42 50 0d 38 20 3c 91 cf c0
17-
counter: 1731579598
16+
nonce: 6e 34 f4 3c 11 43 1a f5 69 ce 33 f1
17+
counter: 2398097086
1818
COCKROACHDB_DATA_KEYS_000001_monolith:
1919
env type: Store, AES128_CTR
2020
keyID: f594229216d81add7811c4360212eb7629b578ef4eab6e5d05679b3c5de48867
@@ -35,11 +35,11 @@ marker.datakeys.000001.COCKROACHDB_DATA_KEYS_000001_monolith:
3535
keyID: f594229216d81add7811c4360212eb7629b578ef4eab6e5d05679b3c5de48867
3636
nonce: 55 d7 d4 27 6c 97 9b dd f1 5d 40 c8
3737
counter: 467030050
38-
marker.format-version.000006.019:
38+
marker.format-version.000008.021:
3939
env type: Data, AES128_CTR
4040
keyID: bbb65a9d114c2a18740f27b6933b74f61018bd5adf545c153b48ffe6473336ef
41-
nonce: e8 33 ee 2f ba ff 71 dd 29 20 97 62
42-
counter: 953786306
41+
nonce: 0c 07 ac 42 50 0d 38 20 3c 91 cf c0
42+
counter: 1731579598
4343
marker.manifest.000001.MANIFEST-000001:
4444
env type: Data, AES128_CTR
4545
keyID: bbb65a9d114c2a18740f27b6933b74f61018bd5adf545c153b48ffe6473336ef

pkg/storage/pebble.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2133,6 +2133,7 @@ func (p *Pebble) CreateCheckpoint(dir string, spans []roachpb.Span) error {
21332133
// version associated with it, since they did so during the fence version.
21342134
var pebbleFormatVersionMap = map[clusterversion.Key]pebble.FormatMajorVersion{
21352135
clusterversion.V24_3: pebble.FormatColumnarBlocks,
2136+
clusterversion.V25_2: pebble.FormatTableFormatV6,
21362137
}
21372138

21382139
// pebbleFormatVersionKeys contains the keys in the map above, in descending order.

0 commit comments

Comments
 (0)