Debian Codegraph @

test/command/suite/wal_recover/ja/update/chunk/free_1_ginfo.expected

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 io_flush
6 [[0,0.0,0.0],true]
7 check --obj Memos.content
8 [
9 [
10 0,
11 0.0,
12 0.0
13 ],
14 {
15 "details": {
16 "segments": [
17 {
18 "id": 0,
19 "type": 3,
20 "type_name": "element info",
21 "element_info_index": 0,
22 "referred_segment": 0,
23 "valid": true
24 },
25 {
26 "id": 1,
27 "type": 0,
28 "type_name": "chunk",
29 "variation": 0
30 }
31 ],
32 "garbage_counts": {},
33 "free_elements": {
34 "0": {
35 "segment": 1,
36 "position": 888,
37 "valid": true
38 }
39 }
40 },
41 "summary": {
42 "flags": "0000C000",
43 "curr seg": 0,
44 "curr pos": 4194304,
45 "max_element_size": 65536,
46 "chunk_threshold": 16,
47 "n_element_variations": 14,
48 "n_using_segments": 2,
49 "valid": true
50 }
51 }
52 ]
53 delete Memos --filter true
54 [[0,0.0,0.0],true]
55 check --obj Memos.content
56 [
57 [
58 0,
59 0.0,
60 0.0
61 ],
62 {
63 "details": {
64 "segments": [
65 {
66 "id": 0,
67 "type": 3,
68 "type_name": "element info",
69 "element_info_index": 0,
70 "referred_segment": 0,
71 "valid": true
72 },
73 {
74 "id": 1,
75 "type": 0,
76 "type_name": "chunk",
77 "variation": 0
78 },
79 {
80 "id": 2,
81 "type": 4,
82 "type_name": "garbage info",
83 "variation": 0,
84 "head": 0,
85 "tail": 0,
86 "n_garbages": 100,
87 "next": 3,
88 "valid": true
89 },
90 {
91 "id": 3,
92 "type": 4,
93 "type_name": "garbage info",
94 "variation": 0,
95 "head": 11,
96 "tail": 0,
97 "n_garbages": 11,
98 "next": 0,
99 "valid": true
100 }
101 ],
102 "garbage_counts": {
103 "0": {
104 "total": 111,
105 "details": {
106 "2": 100,
107 "3": 11
108 },
109 "valid": true
110 }
111 },
112 "free_elements": {
113 "0": {
114 "segment": 1,
115 "position": 888,
116 "valid": true
117 }
118 }
119 },
120 "summary": {
121 "flags": "0000C000",
122 "curr seg": 0,
123 "curr pos": 4194304,
124 "max_element_size": 65536,
125 "chunk_threshold": 16,
126 "n_element_variations": 14,
127 "n_using_segments": 4,
128 "valid": true
129 }
130 }
131 ]
132 check --obj Memos.content
133 [
134 [
135 0,
136 0.0,
137 0.0
138 ],
139 {
140 "details": {
141 "segments": [
142 {
143 "id": 0,
144 "type": 3,
145 "type_name": "element info",
146 "element_info_index": 0,
147 "referred_segment": 0,
148 "valid": true
149 },
150 {
151 "id": 1,
152 "type": 0,
153 "type_name": "chunk",
154 "variation": 0
155 },
156 {
157 "id": 3,
158 "type": 4,
159 "type_name": "garbage info",
160 "variation": 0,
161 "head": 11,
162 "tail": 1,
163 "n_garbages": 10,
164 "next": 0,
165 "valid": true
166 }
167 ],
168 "garbage_counts": {
169 "0": {
170 "total": 10,
171 "details": {
172 "3": 10
173 },
174 "valid": true
175 }
176 },
177 "free_elements": {
178 "0": {
179 "segment": 1,
180 "position": 960,
181 "valid": true
182 }
183 }
184 },
185 "summary": {
186 "flags": "0000C000",
187 "curr seg": 0,
188 "curr pos": 4194304,
189 "max_element_size": 65536,
190 "chunk_threshold": 16,
191 "n_element_variations": 14,
192 "n_using_segments": 3,
193 "valid": true
194 }
195 }
196 ]
197 select Memos
198 [
199 [
200 0,
201 0.0,
202 0.0
203 ],
204 [
205 [
206 [
207 110
208 ],
209 [
210 [
211 "_id",
212 "UInt32"
213 ],
214 [
215 "_key",
216 "ShortText"
217 ],
218 [
219 "content",
220 "Text"
221 ]
222 ],
223 [
224 1,
225 "chunk: 8B <= && < 64KiB: 9",
226 "chunkXXX"
227 ],
228 [
229 2,
230 "chunk: 8B <= && < 64KiB: 8",
231 "chunkXXX"
232 ],
233 [
234 3,
235 "chunk: 8B <= && < 64KiB: 7",
236 "chunkXXX"
237 ],
238 [
239 4,
240 "chunk: 8B <= && < 64KiB: 6",
241 "chunkXXX"
242 ],
243 [
244 5,
245 "chunk: 8B <= && < 64KiB: 5",
246 "chunkXXX"
247 ],
248 [
249 6,
250 "chunk: 8B <= && < 64KiB: 4",
251 "chunkXXX"
252 ],
253 [
254 7,
255 "chunk: 8B <= && < 64KiB: 3",
256 "chunkXXX"
257 ],
258 [
259 8,
260 "chunk: 8B <= && < 64KiB: 2",
261 "chunkXXX"
262 ],
263 [
264 9,
265 "chunk: 8B <= && < 64KiB: 1",
266 "chunkXXX"
267 ],
268 [
269 10,
270 "chunk: 8B <= && < 64KiB: 99",
271 "chunkXXX"
272 ]
273 ]
274 ]
275 ]
276 _database_close
277 [[0,0.0,0.0],true]
278 _database_reopen
279 [[0,0.0,0.0],true]
280 select Memos
281 [
282 [
283 0,
284 0.0,
285 0.0
286 ],
287 [
288 [
289 [
290 110
291 ],
292 [
293 [
294 "_id",
295 "UInt32"
296 ],
297 [
298 "_key",
299 "ShortText"
300 ],
301 [
302 "content",
303 "Text"
304 ]
305 ],
306 [
307 1,
308 "chunk: 8B <= && < 64KiB: 9",
309 "chunkXXX"
310 ],
311 [
312 2,
313 "chunk: 8B <= && < 64KiB: 8",
314 "chunkXXX"
315 ],
316 [
317 3,
318 "chunk: 8B <= && < 64KiB: 7",
319 "chunkXXX"
320 ],
321 [
322 4,
323 "chunk: 8B <= && < 64KiB: 6",
324 "chunkXXX"
325 ],
326 [
327 5,
328 "chunk: 8B <= && < 64KiB: 5",
329 "chunkXXX"
330 ],
331 [
332 6,
333 "chunk: 8B <= && < 64KiB: 4",
334 "chunkXXX"
335 ],
336 [
337 7,
338 "chunk: 8B <= && < 64KiB: 3",
339 "chunkXXX"
340 ],
341 [
342 8,
343 "chunk: 8B <= && < 64KiB: 2",
344 "chunkXXX"
345 ],
346 [
347 9,
348 "chunk: 8B <= && < 64KiB: 1",
349 "chunkXXX"
350 ],
351 [
352 10,
353 "chunk: 8B <= && < 64KiB: 99",
354 "chunkXXX"
355 ]
356 ]
357 ]
358 ]
359 check --obj Memos.content
360 [
361 [
362 0,
363 0.0,
364 0.0
365 ],
366 {
367 "details": {
368 "segments": [
369 {
370 "id": 0,
371 "type": 3,
372 "type_name": "element info",
373 "element_info_index": 0,
374 "referred_segment": 0,
375 "valid": true
376 },
377 {
378 "id": 1,
379 "type": 0,
380 "type_name": "chunk",
381 "variation": 0
382 },
383 {
384 "id": 3,
385 "type": 4,
386 "type_name": "garbage info",
387 "variation": 0,
388 "head": 11,
389 "tail": 1,
390 "n_garbages": 10,
391 "next": 0,
392 "valid": true
393 }
394 ],
395 "garbage_counts": {
396 "0": {
397 "total": 10,
398 "details": {
399 "3": 10
400 },
401 "valid": true
402 }
403 },
404 "free_elements": {
405 "0": {
406 "segment": 1,
407 "position": 960,
408 "valid": true
409 }
410 }
411 },
412 "summary": {
413 "flags": "0000C000",
414 "curr seg": 0,
415 "curr pos": 4194304,
416 "max_element_size": 65536,
417 "chunk_threshold": 16,
418 "n_element_variations": 14,
419 "n_using_segments": 3,
420 "valid": true
421 }
422 }
423 ]