github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/testdata/event_listener (about) 1 open 2 ---- 3 mkdir-all: db 0755 4 open-dir: db 5 mkdir-all: wal 0755 6 open-dir: wal 7 lock: db/LOCK 8 open-dir: db 9 open-dir: db 10 create: db/MANIFEST-000001 11 sync: db/MANIFEST-000001 12 create: db/temporary.000001.dbtmp 13 sync: db/temporary.000001.dbtmp 14 close: db/temporary.000001.dbtmp 15 rename: db/temporary.000001.dbtmp -> db/CURRENT 16 sync: db 17 [JOB 1] MANIFEST created 000001 18 create: db/marker.manifest.000001.MANIFEST-000001 19 close: db/marker.manifest.000001.MANIFEST-000001 20 sync: db 21 create: db/marker.format-version.000001.002 22 close: db/marker.format-version.000001.002 23 sync: db 24 upgraded to format version: 002 25 create: db/temporary.000000.dbtmp 26 sync: db/temporary.000000.dbtmp 27 close: db/temporary.000000.dbtmp 28 rename: db/temporary.000000.dbtmp -> db/CURRENT 29 create: db/marker.format-version.000002.003 30 close: db/marker.format-version.000002.003 31 sync: db 32 upgraded to format version: 003 33 create: db/marker.format-version.000003.004 34 close: db/marker.format-version.000003.004 35 sync: db 36 upgraded to format version: 004 37 create: db/marker.format-version.000004.005 38 close: db/marker.format-version.000004.005 39 sync: db 40 upgraded to format version: 005 41 create: db/marker.format-version.000005.006 42 close: db/marker.format-version.000005.006 43 sync: db 44 upgraded to format version: 006 45 create: db/marker.format-version.000006.007 46 close: db/marker.format-version.000006.007 47 sync: db 48 upgraded to format version: 007 49 create: db/marker.format-version.000007.008 50 close: db/marker.format-version.000007.008 51 sync: db 52 upgraded to format version: 008 53 create: db/marker.format-version.000008.009 54 close: db/marker.format-version.000008.009 55 sync: db 56 upgraded to format version: 009 57 create: db/marker.format-version.000009.010 58 close: db/marker.format-version.000009.010 59 sync: db 60 upgraded to format version: 010 61 create: db/marker.format-version.000010.011 62 close: db/marker.format-version.000010.011 63 sync: db 64 upgraded to format version: 011 65 create: db/MANIFEST-000003 66 close: db/MANIFEST-000001 67 sync: db/MANIFEST-000003 68 create: db/marker.manifest.000002.MANIFEST-000003 69 close: db/marker.manifest.000002.MANIFEST-000003 70 sync: db 71 [JOB 1] MANIFEST created 000003 72 create: wal/000002.log 73 sync: wal 74 [JOB 1] WAL created 000002 75 create: db/temporary.000004.dbtmp 76 sync: db/temporary.000004.dbtmp 77 close: db/temporary.000004.dbtmp 78 rename: db/temporary.000004.dbtmp -> db/OPTIONS-000004 79 sync: db 80 81 flush 82 ---- 83 sync: wal/000002.log 84 sync: wal/000002.log 85 close: wal/000002.log 86 create: wal/000005.log 87 sync: wal 88 [JOB 4] WAL created 000005 89 [JOB 5] flushing 1 memtable to L0 90 create: db/000006.sst 91 [JOB 5] flushing: sstable created 000006 92 sync: db/000006.sst 93 close: db/000006.sst 94 sync: db 95 create: db/MANIFEST-000007 96 close: db/MANIFEST-000003 97 sync: db/MANIFEST-000007 98 create: db/marker.manifest.000003.MANIFEST-000007 99 close: db/marker.manifest.000003.MANIFEST-000007 100 sync: db 101 [JOB 5] MANIFEST created 000007 102 [JOB 5] flushed 1 memtable to L0 [000006] (770 B), in 1.0s (2.0s total), output rate 770 B/s 103 [JOB 5] MANIFEST deleted 000001 104 105 compact 106 ---- 107 sync: wal/000005.log 108 sync: wal/000005.log 109 close: wal/000005.log 110 reuseForWrite: wal/000002.log -> wal/000008.log 111 sync: wal 112 [JOB 6] WAL created 000008 (recycled 000002) 113 [JOB 7] flushing 1 memtable to L0 114 create: db/000009.sst 115 [JOB 7] flushing: sstable created 000009 116 sync: db/000009.sst 117 close: db/000009.sst 118 sync: db 119 create: db/MANIFEST-000010 120 close: db/MANIFEST-000007 121 sync: db/MANIFEST-000010 122 create: db/marker.manifest.000004.MANIFEST-000010 123 close: db/marker.manifest.000004.MANIFEST-000010 124 sync: db 125 [JOB 7] MANIFEST created 000010 126 [JOB 7] flushed 1 memtable to L0 [000009] (770 B), in 1.0s (2.0s total), output rate 770 B/s 127 [JOB 7] MANIFEST deleted 000003 128 [JOB 8] compacting(default) L0 [000006 000009] (1.5 K) + L6 [] (0 B) 129 create: db/000011.sst 130 [JOB 8] compacting: sstable created 000011 131 sync: db/000011.sst 132 close: db/000011.sst 133 sync: db 134 create: db/MANIFEST-000012 135 close: db/MANIFEST-000010 136 sync: db/MANIFEST-000012 137 create: db/marker.manifest.000005.MANIFEST-000012 138 close: db/marker.manifest.000005.MANIFEST-000012 139 sync: db 140 [JOB 8] MANIFEST created 000012 141 [JOB 8] compacted(default) L0 [000006 000009] (1.5 K) + L6 [] (0 B) -> L6 [000011] (770 B), in 1.0s (2.0s total), output rate 770 B/s 142 [JOB 8] sstable deleted 000006 143 [JOB 8] sstable deleted 000009 144 [JOB 8] MANIFEST deleted 000007 145 146 disable-file-deletions 147 ---- 148 149 flush 150 ---- 151 sync: wal/000008.log 152 sync: wal/000008.log 153 close: wal/000008.log 154 reuseForWrite: wal/000005.log -> wal/000013.log 155 sync: wal 156 [JOB 9] WAL created 000013 (recycled 000005) 157 [JOB 10] flushing 1 memtable to L0 158 create: db/000014.sst 159 [JOB 10] flushing: sstable created 000014 160 sync: db/000014.sst 161 close: db/000014.sst 162 sync: db 163 create: db/MANIFEST-000015 164 close: db/MANIFEST-000012 165 sync: db/MANIFEST-000015 166 create: db/marker.manifest.000006.MANIFEST-000015 167 close: db/marker.manifest.000006.MANIFEST-000015 168 sync: db 169 [JOB 10] MANIFEST created 000015 170 [JOB 10] flushed 1 memtable to L0 [000014] (770 B), in 1.0s (2.0s total), output rate 770 B/s 171 172 enable-file-deletions 173 ---- 174 [JOB 11] MANIFEST deleted 000010 175 176 ingest 177 ---- 178 link: ext/0 -> db/000016.sst 179 [JOB 12] ingesting: sstable created 000016 180 sync: db 181 create: db/MANIFEST-000017 182 close: db/MANIFEST-000015 183 sync: db/MANIFEST-000017 184 create: db/marker.manifest.000007.MANIFEST-000017 185 close: db/marker.manifest.000007.MANIFEST-000017 186 sync: db 187 [JOB 12] MANIFEST created 000017 188 [JOB 12] MANIFEST deleted 000012 189 [JOB 12] ingested L0:000016 (825 B) 190 191 metrics 192 ---- 193 __level_____count____size___score______in__ingest(sz_cnt)____move(sz_cnt)___write(sz_cnt)____read___r-amp___w-amp 194 WAL 1 27 B - 48 B - - - - 108 B - - - 2.2 195 0 2 1.6 K 0.40 81 B 825 B 1 0 B 0 2.3 K 3 0 B 2 28.5 196 1 0 0 B 0.00 0 B 0 B 0 0 B 0 0 B 0 0 B 0 0.0 197 2 0 0 B 0.00 0 B 0 B 0 0 B 0 0 B 0 0 B 0 0.0 198 3 0 0 B 0.00 0 B 0 B 0 0 B 0 0 B 0 0 B 0 0.0 199 4 0 0 B 0.00 0 B 0 B 0 0 B 0 0 B 0 0 B 0 0.0 200 5 0 0 B 0.00 0 B 0 B 0 0 B 0 0 B 0 0 B 0 0.0 201 6 1 770 B - 1.5 K 0 B 0 0 B 0 770 B 1 1.5 K 1 0.5 202 total 3 2.3 K - 933 B 825 B 1 0 B 0 3.9 K 4 1.5 K 3 4.3 203 flush 3 204 compact 1 2.3 K 0 B 0 (size == estimated-debt, score = in-progress-bytes, in = num-in-progress) 205 ctype 1 0 0 0 0 0 0 (default, delete, elision, move, read, rewrite, multi-level) 206 memtbl 1 256 K 207 zmemtbl 0 0 B 208 ztbl 0 0 B 209 bcache 8 1.4 K 11.1% (score == hit-rate) 210 tcache 1 680 B 40.0% (score == hit-rate) 211 snaps 0 - 0 (score == earliest seq num) 212 titers 0 213 filter - - 0.0% (score == utility) 214 215 sstables 216 ---- 217 0: 218 14:[a-a] 219 16:[a-a] 220 6: 221 11:[a-a] 222 223 checkpoint 224 ---- 225 mkdir-all: checkpoint 0755 226 open-dir: 227 sync: 228 close: 229 open-dir: checkpoint 230 link: db/OPTIONS-000004 -> checkpoint/OPTIONS-000004 231 open-dir: checkpoint 232 create: checkpoint/marker.format-version.000001.011 233 sync: checkpoint/marker.format-version.000001.011 234 close: checkpoint/marker.format-version.000001.011 235 sync: checkpoint 236 close: checkpoint 237 create: checkpoint/MANIFEST-000017 238 sync: checkpoint/MANIFEST-000017 239 close: checkpoint/MANIFEST-000017 240 open-dir: checkpoint 241 create: checkpoint/marker.manifest.000001.MANIFEST-000017 242 sync: checkpoint/marker.manifest.000001.MANIFEST-000017 243 close: checkpoint/marker.manifest.000001.MANIFEST-000017 244 sync: checkpoint 245 close: checkpoint 246 link: db/000014.sst -> checkpoint/000014.sst 247 link: db/000016.sst -> checkpoint/000016.sst 248 link: db/000011.sst -> checkpoint/000011.sst 249 create: checkpoint/000013.log 250 sync: checkpoint/000013.log 251 close: checkpoint/000013.log 252 sync: checkpoint 253 close: checkpoint 254 255 enable-file-deletions 256 ---- 257 bitable: file deletion disablement invariant violated 258 259 close 260 ---- 261 close: db 262 sync: wal/000013.log 263 close: wal/000013.log 264 close: db/MANIFEST-000017 265 close: db 266 close: db 267 close: wal