github.com/cockroachdb/pebble@v1.1.2/testdata/marked_for_compaction (about) 1 define 2 L0 3 c.SET.11:foo 4 L1 5 c.SET.0:foo 6 d.SET.0:foo 7 ---- 8 0.0: 9 000004:[c#11,SET-c#11,SET] seqnums:[11-11] points:[c#11,SET-c#11,SET] 10 1: 11 000005:[c#0,SET-d#0,SET] seqnums:[0-0] points:[c#0,SET-d#0,SET] 12 13 mark-for-compaction file=000005 14 ---- 15 marked L1.000005 16 17 mark-for-compaction file=000004 18 ---- 19 marked L0.000004 20 21 maybe-compact 22 ---- 23 [JOB 100] compacted(rewrite) L1 [000005] (670B) Score=0.00 + L1 [] (0B) Score=0.00 -> L1 [000006] (670B), in 1.0s (2.0s total), output rate 670B/s 24 [JOB 100] compacted(rewrite) L0 [000004] (665B) Score=0.00 + L0 [] (0B) Score=0.00 -> L0 [000007] (665B), in 1.0s (2.0s total), output rate 665B/s 25 0.0: 26 000007:[c#11,SET-c#11,SET] seqnums:[11-11] points:[c#11,SET-c#11,SET] 27 1: 28 000006:[c#0,SET-d#0,SET] seqnums:[0-0] points:[c#0,SET-d#0,SET]