@@ -231,51 +231,51 @@ L2:
231
231
# that is unknown.
232
232
233
233
apply v8
234
- add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(000003 : 25935); depth:1]
234
+ add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(B000003 : 25935); depth:1]
235
235
----
236
- error during Accumulate: blob file 000003 referenced by L0.000004 not found
236
+ error during Accumulate: blob file B000003 referenced by L0.000004 not found
237
237
238
238
# Apply a version edit that introduces a new blob file and a corresponding table
239
239
# that references its entirety.
240
240
241
241
apply v8 name=v9
242
- add-blob-file: 000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
243
- add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(000003 : 25935); depth:1]
242
+ add-blob-file: B000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
243
+ add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(B000003 : 25935); depth:1]
244
244
----
245
245
L0.0:
246
- 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(000003 : 25935); depth:1]
246
+ 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(B000003 : 25935); depth:1]
247
247
L1:
248
248
000001:[a#2,SET-e#2,SET] seqnums:[0-0] points:[a#2,SET-e#2,SET]
249
249
L2:
250
250
000002:[c#1,SET-f#1,SET] seqnums:[0-0] points:[c#1,SET-f#1,SET]
251
251
Blob files:
252
- 000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
252
+ B000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
253
253
254
254
# Try to add another table referencing the blob file. Since the file is not
255
255
# added in the same version edit, and no referencing table is deleted in the
256
256
# same version edit, accumulate will error.
257
257
258
258
apply v8
259
- add-table: L0 000005:[a#10,SET-a#10,SET] seqnums:[10-10] points:[a#10,SET-a#10,SET] blobrefs:[(000003 : 205); depth:1]
259
+ add-table: L0 000005:[a#10,SET-a#10,SET] seqnums:[10-10] points:[a#10,SET-a#10,SET] blobrefs:[(B000003 : 205); depth:1]
260
260
----
261
- error during Accumulate: blob file 000003 referenced by L0.000005 not found
261
+ error during Accumulate: blob file B000003 referenced by L0.000005 not found
262
262
263
263
# We can add new tables referencing the blob file if we delete an existing table
264
264
# with a reference to the file.
265
265
266
266
apply v9
267
267
del-table: L0 000004
268
268
del-table: L1 000001
269
- add-table: L1 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(000003 : 12205); depth:1]
270
- add-table: L1 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(000003 : 14192); depth:1]
269
+ add-table: L1 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(B000003 : 12205); depth:1]
270
+ add-table: L1 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(B000003 : 14192); depth:1]
271
271
----
272
272
L1:
273
- 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(000003 : 12205); depth:1]
274
- 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(000003 : 14192); depth:1]
273
+ 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(B000003 : 12205); depth:1]
274
+ 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(B000003 : 14192); depth:1]
275
275
L2:
276
276
000002:[c#1,SET-f#1,SET] seqnums:[0-0] points:[c#1,SET-f#1,SET]
277
277
Blob files:
278
- 000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
278
+ B000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
279
279
280
280
# Repeat the above but this time applying the entire lifecycle of a blob file in
281
281
# a single bulk version edit. This simulates a manifest replay during startup.
@@ -292,17 +292,17 @@ L2:
292
292
000002:[c#1,SET-f#1,SET] seqnums:[0-0] points:[c#1,SET-f#1,SET]
293
293
294
294
apply v10
295
- add-blob-file: 000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
296
- add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(000003 : 25935); depth:1]
295
+ add-blob-file: B000003 physical:{000003 size:[20535 (20KB)] vals:[25935 (25KB)]}
296
+ add-table: L0 000004:[a#9,SET-z#9,DEL] seqnums:[9-9] points:[a#9,SET-z#9,DEL] blobrefs:[(B000003 : 25935); depth:1]
297
297
new version edit
298
298
del-table: L0 000004
299
299
del-table: L1 000001
300
- add-table: L1 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(000003 : 12205); depth:1]
301
- add-table: L1 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(000003 : 14192); depth:1]
300
+ add-table: L1 000005:[a#9,SET-d#9,SET] seqnums:[0-9] points:[a#9,SET-d#9,SET] blobrefs:[(B000003 : 12205); depth:1]
301
+ add-table: L1 000006:[e#2,SET-z#9,SET] seqnums:[0-9] points:[e#2,SET-z#9,SET] blobrefs:[(B000003 : 14192); depth:1]
302
302
new version edit
303
303
del-table: L1 000005
304
304
del-table: L1 000006
305
- del-blob-file: 000003
305
+ del-blob-file: B000003
306
306
----
307
307
L2:
308
308
000002:[c#1,SET-f#1,SET] seqnums:[0-0] points:[c#1,SET-f#1,SET]
0 commit comments