Debian Codegraph @

test/command/suite/wal_recover/ja/update/chunk/once.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 load --table Memos
8 [
9 {"_key": "chunk: 8B <= && < 64KiB", "content": "chunkXXX"}
10 ]
11 [[0,0.0,0.0],1]
12 load --table Memos
13 [
14 {"_key": "chunk: 8B <= && < 64KiB", "content": "CHUNKxxx"}
15 ]
16 [[0,0.0,0.0],1]
17 check --obj Memos.content
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 {
25 "details": {
26 "segments": [
27 {
28 "id": 0,
29 "type": 3,
30 "type_name": "element info",
31 "element_info_index": 0,
32 "referred_segment": 0,
33 "valid": true
34 },
35 {
36 "id": 1,
37 "type": 0,
38 "type_name": "chunk",
39 "variation": 0
40 },
41 {
42 "id": 2,
43 "type": 4,
44 "type_name": "garbage info",
45 "variation": 0,
46 "head": 1,
47 "tail": 0,
48 "n_garbages": 1,
49 "next": 0,
50 "valid": true
51 }
52 ],
53 "garbage_counts": {
54 "0": {
55 "total": 1,
56 "details": {
57 "2": 1
58 },
59 "valid": true
60 }
61 },
62 "free_elements": {
63 "0": {
64 "segment": 1,
65 "position": 16,
66 "valid": true
67 }
68 }
69 },
70 "summary": {
71 "flags": "0000C000",
72 "curr seg": 0,
73 "curr pos": 4194304,
74 "max_element_size": 65536,
75 "chunk_threshold": 16,
76 "n_element_variations": 14,
77 "n_using_segments": 3,
78 "valid": true
79 }
80 }
81 ]
82 select Memos
83 [
84 [
85 0,
86 0.0,
87 0.0
88 ],
89 [
90 [
91 [
92 1
93 ],
94 [
95 [
96 "_id",
97 "UInt32"
98 ],
99 [
100 "_key",
101 "ShortText"
102 ],
103 [
104 "content",
105 "Text"
106 ]
107 ],
108 [
109 1,
110 "chunk: 8B <= && < 64KiB",
111 "CHUNKxxx"
112 ]
113 ]
114 ]
115 ]
116 _database_close
117 [[0,0.0,0.0],true]
118 _database_reopen
119 [[0,0.0,0.0],true]
120 select Memos
121 [
122 [
123 0,
124 0.0,
125 0.0
126 ],
127 [
128 [
129 [
130 1
131 ],
132 [
133 [
134 "_id",
135 "UInt32"
136 ],
137 [
138 "_key",
139 "ShortText"
140 ],
141 [
142 "content",
143 "Text"
144 ]
145 ],
146 [
147 1,
148 "chunk: 8B <= && < 64KiB",
149 "CHUNKxxx"
150 ]
151 ]
152 ]
153 ]
154 check --obj Memos.content
155 [
156 [
157 0,
158 0.0,
159 0.0
160 ],
161 {
162 "details": {
163 "segments": [
164 {
165 "id": 0,
166 "type": 3,
167 "type_name": "element info",
168 "element_info_index": 0,
169 "referred_segment": 0,
170 "valid": true
171 },
172 {
173 "id": 1,
174 "type": 0,
175 "type_name": "chunk",
176 "variation": 0
177 },
178 {
179 "id": 2,
180 "type": 4,
181 "type_name": "garbage info",
182 "variation": 0,
183 "head": 1,
184 "tail": 0,
185 "n_garbages": 1,
186 "next": 0,
187 "valid": true
188 }
189 ],
190 "garbage_counts": {
191 "0": {
192 "total": 1,
193 "details": {
194 "2": 1
195 },
196 "valid": true
197 }
198 },
199 "free_elements": {
200 "0": {
201 "segment": 1,
202 "position": 16,
203 "valid": true
204 }
205 }
206 },
207 "summary": {
208 "flags": "0000C000",
209 "curr seg": 0,
210 "curr pos": 4194304,
211 "max_element_size": 65536,
212 "chunk_threshold": 16,
213 "n_element_variations": 14,
214 "n_using_segments": 3,
215 "valid": true
216 }
217 }
218 ]