github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/testdata/manual_compaction (about) 1 batch 2 set a 1 3 set b 2 4 ---- 5 6 compact a-b 7 ---- 8 6: a-b 9 10 batch 11 set c 3 12 set d 4 13 ---- 14 15 compact c-d 16 ---- 17 6: a-b c-d 18 19 batch 20 set b 5 21 set c 6 22 ---- 23 24 compact a-d 25 ---- 26 6: a-d 27 28 # This also tests flushing a memtable that only contains range 29 # deletions. 30 31 batch 32 del-range a e 33 ---- 34 35 compact a-d 36 ---- 37 38 # Test that a multi-output-file compaction generates non-overlapping files. 39 40 define target-file-sizes=(100, 1) 41 L0 42 a.SET.2:v 43 L0 44 b.SET.1:v 45 ---- 46 0: b-b a-a 47 48 compact a-b 49 ---- 50 1: a-a b-b