github.com/zuoyebang/bitalostable@v1.0.1-0.20240229032404-e3b99a834294/testdata/checkpoint (about) 1 open db 2 ---- 3 mkdir-all: db 0755 4 open-dir: db 5 lock: db/LOCK 6 open-dir: db 7 open-dir: db 8 create: db/MANIFEST-000001 9 sync: db/MANIFEST-000001 10 create: db/temporary.000001.dbtmp 11 sync: db/temporary.000001.dbtmp 12 close: db/temporary.000001.dbtmp 13 rename: db/temporary.000001.dbtmp -> db/CURRENT 14 sync: db 15 create: db/marker.manifest.000001.MANIFEST-000001 16 close: db/marker.manifest.000001.MANIFEST-000001 17 sync: db 18 create: db/marker.format-version.000001.002 19 close: db/marker.format-version.000001.002 20 sync: db 21 create: db/temporary.000000.dbtmp 22 sync: db/temporary.000000.dbtmp 23 close: db/temporary.000000.dbtmp 24 rename: db/temporary.000000.dbtmp -> db/CURRENT 25 create: db/marker.format-version.000002.003 26 close: db/marker.format-version.000002.003 27 sync: db 28 create: db/marker.format-version.000003.004 29 close: db/marker.format-version.000003.004 30 sync: db 31 create: db/marker.format-version.000004.005 32 close: db/marker.format-version.000004.005 33 sync: db 34 create: db/marker.format-version.000005.006 35 close: db/marker.format-version.000005.006 36 sync: db 37 create: db/marker.format-version.000006.007 38 close: db/marker.format-version.000006.007 39 sync: db 40 create: db/marker.format-version.000007.008 41 close: db/marker.format-version.000007.008 42 sync: db 43 create: db/marker.format-version.000008.009 44 close: db/marker.format-version.000008.009 45 sync: db 46 create: db/marker.format-version.000009.010 47 close: db/marker.format-version.000009.010 48 sync: db 49 create: db/marker.format-version.000010.011 50 close: db/marker.format-version.000010.011 51 sync: db 52 sync: db/MANIFEST-000001 53 create: db/000002.log 54 sync: db 55 create: db/temporary.000003.dbtmp 56 sync: db/temporary.000003.dbtmp 57 close: db/temporary.000003.dbtmp 58 rename: db/temporary.000003.dbtmp -> db/OPTIONS-000003 59 sync: db 60 61 batch db 62 set a 1 63 set b 2 64 set c 3 65 ---- 66 sync: db/000002.log 67 68 flush db 69 ---- 70 sync: db/000002.log 71 close: db/000002.log 72 create: db/000004.log 73 sync: db 74 create: db/000005.sst 75 sync: db/000005.sst 76 close: db/000005.sst 77 sync: db 78 sync: db/MANIFEST-000001 79 80 batch db 81 set b 5 82 set d 7 83 set e 8 84 ---- 85 sync: db/000004.log 86 87 flush db 88 ---- 89 sync: db/000004.log 90 close: db/000004.log 91 reuseForWrite: db/000002.log -> db/000006.log 92 sync: db 93 create: db/000007.sst 94 sync: db/000007.sst 95 close: db/000007.sst 96 sync: db 97 sync: db/MANIFEST-000001 98 99 batch db 100 set f 9 101 set g 10 102 ---- 103 sync: db/000006.log 104 105 checkpoint db checkpoints/checkpoint1 106 ---- 107 mkdir-all: checkpoints/checkpoint1 0755 108 open-dir: checkpoints 109 sync: checkpoints 110 close: checkpoints 111 open-dir: 112 sync: 113 close: 114 open-dir: checkpoints/checkpoint1 115 link: db/OPTIONS-000003 -> checkpoints/checkpoint1/OPTIONS-000003 116 open-dir: checkpoints/checkpoint1 117 create: checkpoints/checkpoint1/marker.format-version.000001.011 118 sync: checkpoints/checkpoint1/marker.format-version.000001.011 119 close: checkpoints/checkpoint1/marker.format-version.000001.011 120 sync: checkpoints/checkpoint1 121 close: checkpoints/checkpoint1 122 create: checkpoints/checkpoint1/MANIFEST-000001 123 sync: checkpoints/checkpoint1/MANIFEST-000001 124 close: checkpoints/checkpoint1/MANIFEST-000001 125 open-dir: checkpoints/checkpoint1 126 create: checkpoints/checkpoint1/marker.manifest.000001.MANIFEST-000001 127 sync: checkpoints/checkpoint1/marker.manifest.000001.MANIFEST-000001 128 close: checkpoints/checkpoint1/marker.manifest.000001.MANIFEST-000001 129 sync: checkpoints/checkpoint1 130 close: checkpoints/checkpoint1 131 link: db/000005.sst -> checkpoints/checkpoint1/000005.sst 132 link: db/000007.sst -> checkpoints/checkpoint1/000007.sst 133 create: checkpoints/checkpoint1/000006.log 134 sync: checkpoints/checkpoint1/000006.log 135 close: checkpoints/checkpoint1/000006.log 136 sync: checkpoints/checkpoint1 137 close: checkpoints/checkpoint1 138 139 checkpoint db checkpoints/checkpoint1 140 ---- 141 checkpoint checkpoints/checkpoint1: file already exists 142 143 compact db 144 ---- 145 sync: db/000006.log 146 close: db/000006.log 147 reuseForWrite: db/000004.log -> db/000008.log 148 sync: db 149 create: db/000009.sst 150 sync: db/000009.sst 151 close: db/000009.sst 152 sync: db 153 sync: db/MANIFEST-000001 154 create: db/000010.sst 155 sync: db/000010.sst 156 close: db/000010.sst 157 sync: db 158 sync: db/MANIFEST-000001 159 160 batch db 161 set h 11 162 ---- 163 sync: db/000008.log 164 165 list db 166 ---- 167 000006.log 168 000008.log 169 000010.sst 170 CURRENT 171 LOCK 172 MANIFEST-000001 173 OPTIONS-000003 174 marker.format-version.000010.011 175 marker.manifest.000001.MANIFEST-000001 176 177 list checkpoints/checkpoint1 178 ---- 179 000005.sst 180 000006.log 181 000007.sst 182 MANIFEST-000001 183 OPTIONS-000003 184 marker.format-version.000001.011 185 marker.manifest.000001.MANIFEST-000001 186 187 open checkpoints/checkpoint1 readonly 188 ---- 189 open-dir: checkpoints/checkpoint1 190 lock: checkpoints/checkpoint1/LOCK 191 open-dir: checkpoints/checkpoint1 192 open-dir: checkpoints/checkpoint1 193 194 scan checkpoints/checkpoint1 195 ---- 196 a 1 197 b 5 198 c 3 199 d 7 200 e 8 201 f 9 202 g 10 203 . 204 205 scan db 206 ---- 207 a 1 208 b 5 209 c 3 210 d 7 211 e 8 212 f 9 213 g 10 214 h 11 215 .