-
Notifications
You must be signed in to change notification settings - Fork 472
/
Copy pathsplit_user_key_migration
108 lines (89 loc) · 1.67 KB
/
split_user_key_migration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
define
L1
d.SET.110:d e.SET.140:e
----
1:
000004:[d#110,SET-e#140,SET]
reopen
----
0 nonatomic-files at open
# The current public Pebble interface offers no way of constructing a multi-file
# atomic compaction unit, so use the force-ingest command to force an ingestion
# into L1.
build ef
set e e
set f f
----
force-ingest paths=(ef) level=1
----
1:
000004:[d#110,SET-e#140,SET]
000008:[e#1,SET-f#1,SET]
format-major-version
----
005
reopen
----
1 nonatomic-files at open
format-major-version
----
005
ratchet-format-major-version 006
----
[JOB 100] compacted(rewrite) L1 [000004 000008] (1.6 K) + L1 [] (0 B) -> L1 [000012] (786 B), in 1.0s (2.0s total), output rate 786 B/s
format-major-version
----
006
lsm
----
1:
000012:[d#0,SET-f#0,SET]
define
L1
b.SET.0:b c.SET.5:c
L1
m.SET.0:m l.SET.5:l
L1
x.SET.0:x y.SET.5:y
----
1:
000004:[b#0,SET-c#5,SET]
000005:[l#5,SET-m#0,SET]
000006:[x#0,SET-y#5,SET]
build ab
set a a
set b b
----
build cd
set c c
set d d
----
build wx
set w w
set x x
----
force-ingest paths=(ab, cd, wx) level=1
----
1:
000007:[a#1,SET-b#1,SET]
000004:[b#0,SET-c#5,SET]
000008:[c#2,SET-d#2,SET]
000005:[l#5,SET-m#0,SET]
000009:[w#3,SET-x#3,SET]
000006:[x#0,SET-y#5,SET]
format-major-version
----
005
ratchet-format-major-version 006
----
[JOB 100] compacted(rewrite) L1 [000007 000004 000008] (2.4 K) + L1 [] (0 B) -> L1 [000010] (794 B), in 1.0s (2.0s total), output rate 794 B/s
[JOB 100] compacted(rewrite) L1 [000009 000006] (1.6 K) + L1 [] (0 B) -> L1 [000011] (786 B), in 1.0s (2.0s total), output rate 786 B/s
lsm
----
1:
000010:[a#0,SET-d#0,SET]
000005:[l#5,SET-m#0,SET]
000011:[w#0,SET-y#0,SET]
format-major-version
----
006