Debian Codegraph @

test/command/suite/wal_recover/db/auto_recovery/column/scalar.expected

raw
1 table_create Data TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Data count COLUMN_SCALAR UInt32
4 [[0,0.0,0.0],true]
5 load --table Data
6 [
7 {"_key": "abc", "count": 10},
8 {"_key": "ABC", "count": 100},
9 {"_key": "abcdef", "count": 1000}
10 ]
11 [[0,0.0,0.0],3]
12 delete --table Data --key ABC
13 [[0,0.0,0.0],true]
14 dump
15 table_create Data TABLE_PAT_KEY ShortText
16 column_create Data count COLUMN_SCALAR UInt32
17
18 load --table Data
19 [
20 ["_key","count"],
21 ["abc",10],
22 ["abcdef",1000]
23 ]
24 _database_close
25 [[0,0.0,0.0],true]
26 _database_reopen
27 [[0,0.0,0.0],true]
28 #|e| [reader][read-entry][ra][recover][Data.count] must be map: <positive-integer>(2): path:<db/db.0000101>
29 #|n| [db][wal][recover] rebuild broken data column: <Data.count>(257)
30 #|n| DDL:258:column_create Data #recovering#count
31 #|n| spec:258:update:Data.#recovering#count:64(column:fix_size):9(UInt32)
32 #|n| DDL:257:obj_remove Data.#broken#count
33 #|n| spec:257:remove:Data.#broken#count:64(column:fix_size)
34 #|n| [db][wal][recover] succeeded to rebuild broken column: <Data.count>(258)
35 dump
36 table_create Data TABLE_PAT_KEY ShortText
37 column_create Data count COLUMN_SCALAR UInt32
38
39 load --table Data
40 [
41 ["_key","count"],
42 ["abc",10],
43 ["abcdef",1000]
44 ]