Debian Codegraph @

test/command/suite/wal_recover/ii/online.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
6 [[0,0.0,0.0],true]
7 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 io_flush
10 [[0,0.0,0.0],true]
11 load --table Memos
12 [
13 {"content": "hello world"},
14 {"content": "good-by world"}
15 ]
16 [[0,0.0,0.0],2]
17 check --obj Terms.memos_content
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 {
26 "flags": "00008202",
27 "max sid": 1,
28 "number of garbage segments": 0,
29 "number of array segments": 1,
30 "max id of array segment": 1,
31 "number of buffer segments": 1,
32 "max id of buffer segment": 1,
33 "max id of physical segment in use": 1,
34 "number of unmanaged segments": 0,
35 "total chunk size": 0,
36 "max id of chunk segments in use": 0,
37 "number of garbage chunk": [
38 0,
39 0,
40 0,
41 0,
42 0,
43 0,
44 0,
45 0,
46 0,
47 0,
48 0,
49 0,
50 0,
51 0,
52 0
53 ]
54 },
55 {
56 "buffer id": 0,
57 "void chunk size": 0,
58 "buffer term": [
59 [
60 "world",
61 2,
62 2,
63 2,
64 0
65 ]
66 ],
67 "buffer free": 262096,
68 "size in buffer": 2,
69 "nterms": 1,
70 "nterms with chunk": 0
71 }
72 ]
73 ]
74 select Memos --query content:@hello
75 [[0,0.0,0.0],[[[1],[["_id","UInt32"],["content","Text"]],[1,"hello world"]]]]
76 _database_close
77 [[0,0.0,0.0],true]
78 _database_reopen
79 [[0,0.0,0.0],true]
80 #|e| [ii][wal][recover][Terms.memos_content] not implemented: path:<db/db.0000103>
81 #|n| [db][wal][recover] rebuild broken auto generated column: <Terms.memos_content>(259)
82 #|n| DDL:260:column_create Terms #recovering#memos_content
83 #|n| spec:260:update:Terms.#recovering#memos_content:72(column:index):256(Memos)
84 #|n| DDL:260:set_source Terms.#recovering#memos_content Memos.content
85 #|n| spec:260:update:Terms.#recovering#memos_content:72(column:index):256(Memos)
86 #|n| DDL:257:add_hook:set Memos.content [Terms.#recovering#memos_content(260),Terms.memos_content(259)]
87 #|n| spec:257:update:Memos.content:65(column:var_size):15(Text)
88 #|n| DDL:259:obj_remove Terms.#broken#memos_content
89 #|n| DDL:257:delete_hook:set Memos.content Terms.#broken#memos_content(259) [Terms.memos_content(260)]
90 #|n| spec:257:update:Memos.content:65(column:var_size):15(Text)
91 #|n| spec:259:remove:Terms.#broken#memos_content:72(column:index)
92 #|n| [db][wal][recover] succeeded to rebuild broken column: <Terms.memos_content>(260)
93 select Memos --query content:@hello
94 [[0,0.0,0.0],[[[1],[["_id","UInt32"],["content","Text"]],[1,"hello world"]]]]
95 check --obj Terms.memos_content
96 [
97 [
98 0,
99 0.0,
100 0.0
101 ],
102 [
103 {
104 "flags": "00008202",
105 "max sid": 0,
106 "number of garbage segments": 0,
107 "number of array segments": 1,
108 "max id of array segment": 1,
109 "number of buffer segments": 1,
110 "max id of buffer segment": 1,
111 "max id of physical segment in use": 1,
112 "number of unmanaged segments": 0,
113 "total chunk size": 1048576,
114 "max id of chunk segments in use": 1,
115 "number of garbage chunk": [
116 0,
117 0,
118 0,
119 0,
120 0,
121 0,
122 0,
123 0,
124 0,
125 0,
126 0,
127 0,
128 0,
129 0,
130 0
131 ]
132 },
133 {
134 "buffer id": 0,
135 "chunk size": 1048576,
136 "buffer term": [
137 [
138 "world",
139 2,
140 2,
141 0,
142 7,
143 2,
144 2
145 ]
146 ],
147 "buffer free": 262112,
148 "size in buffer": 0,
149 "nterms": 1,
150 "nterms with chunk": 1
151 }
152 ]
153 ]