Debian Codegraph @

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

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Data TABLE_PAT_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Data tags COLUMN_VECTOR Tags
6 [[0,0.0,0.0],true]
7 load --table Data
8 [
9 {"_key": "abc", "tags": ["A", "B", "C"]},
10 {"_key": "ABC", "tags": ["B", "C", "D"]},
11 {"_key": "abcdef", "tags": ["F"]}
12 ]
13 [[0,0.0,0.0],3]
14 delete --table Data --key ABC
15 [[0,0.0,0.0],true]
16 dump
17 table_create Data TABLE_PAT_KEY ShortText
18
19 table_create Tags TABLE_HASH_KEY ShortText
20
21 column_create Data tags COLUMN_VECTOR Tags
22
23 load --table Tags
24 [
25 ["_key"],
26 ["A"],
27 ["B"],
28 ["C"],
29 ["D"],
30 ["F"]
31 ]
32
33 load --table Data
34 [
35 ["_key","tags"],
36 ["abc",["A","B","C"]],
37 ["abcdef",["F"]]
38 ]
39 _database_close
40 [[0,0.0,0.0],true]
41 _database_reopen
42 [[0,0.0,0.0],true]
43 #|e| [reader][read-entry][ja][recover][Data.tags] must be map: <positive-integer>(2): path:<db/db.0000102>
44 #|n| [db][wal][recover] rebuild broken data column: <Data.tags>(258)
45 #|n| DDL:259:column_create Data #recovering#tags
46 #|n| spec:259:update:Data.#recovering#tags:65(column:var_size):256(Tags)
47 #|n| DDL:258:obj_remove Data.#broken#tags
48 #|n| spec:258:remove:Data.#broken#tags:65(column:var_size)
49 #|n| [db][wal][recover] succeeded to rebuild broken column: <Data.tags>(259)
50 dump
51 table_create Data TABLE_PAT_KEY ShortText
52
53 table_create Tags TABLE_HASH_KEY ShortText
54
55 column_create Data tags COLUMN_VECTOR Tags
56
57 load --table Tags
58 [
59 ["_key"],
60 ["A"],
61 ["B"],
62 ["C"],
63 ["D"],
64 ["F"]
65 ]
66
67 load --table Data
68 [
69 ["_key","tags"],
70 ["abc",["A","B","C"]],
71 ["abcdef",["F"]]
72 ]