github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/testdata/cleaner (about) 1 open db 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 sync: db/MANIFEST-000001 18 create: wal/000002.log 19 sync: wal 20 create: db/temporary.000003.dbtmp 21 sync: db/temporary.000003.dbtmp 22 close: db/temporary.000003.dbtmp 23 rename: db/temporary.000003.dbtmp -> db/OPTIONS-000003 24 sync: db 25 26 batch db 27 set a 1 28 set b 2 29 set c 3 30 ---- 31 sync: wal/000002.log 32 33 flush db 34 ---- 35 sync: wal/000002.log 36 close: wal/000002.log 37 create: wal/000004.log 38 sync: wal 39 create: db/000005.sst 40 sync: db/000005.sst 41 close: db/000005.sst 42 sync: db 43 sync: db/MANIFEST-000001 44 mkdir-all: wal/archive 0755 45 rename: wal/000002.log -> wal/archive/000002.log 46 47 batch db 48 set d 4 49 ---- 50 sync: wal/000004.log 51 52 compact db 53 ---- 54 sync: wal/000004.log 55 close: wal/000004.log 56 create: wal/000006.log 57 sync: wal 58 create: db/000007.sst 59 sync: db/000007.sst 60 close: db/000007.sst 61 sync: db 62 sync: db/MANIFEST-000001 63 mkdir-all: wal/archive 0755 64 rename: wal/000004.log -> wal/archive/000004.log 65 create: db/000008.sst 66 sync: db/000008.sst 67 close: db/000008.sst 68 sync: db 69 sync: db/MANIFEST-000001 70 mkdir-all: db/archive 0755 71 rename: db/000005.sst -> db/archive/000005.sst 72 mkdir-all: db/archive 0755 73 rename: db/000007.sst -> db/archive/000007.sst 74 75 list db 76 ---- 77 000008.sst 78 CURRENT 79 LOCK 80 MANIFEST-000001 81 OPTIONS-000003 82 archive 83 84 list wal 85 ---- 86 000006.log 87 archive 88 89 list db/archive 90 ---- 91 000005.sst 92 000007.sst 93 94 list wal/archive 95 ---- 96 000002.log 97 000004.log