github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/testdata/compaction_iter (about) 1 define 2 a.SET.1:b 3 ---- 4 5 iter 6 first 7 next 8 ---- 9 a#1,1:b 10 . 11 12 define 13 a.SET.2:c 14 a.SET.1:b 15 ---- 16 17 iter 18 first 19 next 20 ---- 21 a#2,1:c 22 . 23 24 iter snapshots=0 25 first 26 next 27 ---- 28 a#2,1:c 29 . 30 31 iter snapshots=1 32 first 33 next 34 ---- 35 a#2,1:c 36 . 37 38 iter snapshots=2 39 first 40 next 41 next 42 ---- 43 a#2,1:c 44 a#1,1:b 45 . 46 47 define 48 a.DEL.2: 49 a.SET.1:b 50 ---- 51 52 iter 53 first 54 next 55 ---- 56 a#2,0: 57 . 58 59 iter elide-tombstones=true 60 first 61 ---- 62 . 63 64 iter elide-tombstones=true snapshots=2 65 first 66 next 67 next 68 ---- 69 a#2,0: 70 a#1,1:b 71 . 72 73 iter elide-tombstones=true snapshots=1 74 first 75 next 76 ---- 77 a#2,0: 78 . 79 80 define 81 a.DEL.2: 82 a.SET.1:b 83 b.SET.3:c 84 ---- 85 86 iter 87 first 88 next 89 next 90 ---- 91 a#2,0: 92 b#3,1:c 93 . 94 95 iter snapshots=1 96 first 97 next 98 next 99 ---- 100 a#2,0: 101 b#3,1:c 102 . 103 104 iter snapshots=2 105 first 106 next 107 next 108 next 109 ---- 110 a#2,0: 111 a#1,1:b 112 b#3,1:c 113 . 114 115 define 116 a.SET.1:a 117 b.SET.2:b 118 c.SET.3:c 119 ---- 120 121 iter 122 first 123 next 124 next 125 next 126 ---- 127 a#1,1:a 128 b#2,1:b 129 c#3,1:c 130 . 131 132 define 133 a.MERGE.3:b 134 a.MERGE.2:c 135 a.SET.1:d 136 b.MERGE.2:a 137 b.MERGE.1:b 138 ---- 139 140 iter 141 first 142 next 143 next 144 ---- 145 a#3,1:bcd 146 b#2,2:ab 147 . 148 149 iter snapshots=3 150 first 151 next 152 next 153 next 154 ---- 155 a#3,2:b 156 a#2,1:cd 157 b#2,2:ab 158 . 159 160 define 161 a.SET.9:b 162 a.DEL.8: 163 a.SET.7:d 164 a.DEL.6: 165 a.SET.5:f 166 ---- 167 168 iter 169 first 170 next 171 ---- 172 a#9,1:b 173 . 174 175 iter snapshots=6 176 first 177 next 178 next 179 ---- 180 a#9,1:b 181 a#5,1:f 182 . 183 184 iter snapshots=7 185 first 186 next 187 next 188 ---- 189 a#9,1:b 190 a#6,0: 191 . 192 193 iter snapshots=8 194 first 195 next 196 next 197 ---- 198 a#9,1:b 199 a#7,1:d 200 . 201 202 iter snapshots=9 203 first 204 next 205 next 206 ---- 207 a#9,1:b 208 a#8,0: 209 . 210 211 iter snapshots=10 212 first 213 next 214 ---- 215 a#9,1:b 216 . 217 218 iter snapshots=(5,6,7,8,9) 219 first 220 next 221 next 222 next 223 next 224 next 225 ---- 226 a#9,1:b 227 a#8,0: 228 a#7,1:d 229 a#6,0: 230 a#5,1:f 231 . 232 233 define 234 a.INVALID.2:b 235 a.SET.1:c 236 ---- 237 238 iter 239 first 240 next 241 next 242 ---- 243 a#2,255:b 244 a#1,1:c 245 . 246 247 define 248 a.SET.2:b 249 a.INVALID.1:c 250 ---- 251 252 iter 253 first 254 next 255 next 256 ---- 257 a#2,1:b 258 a#1,255:c 259 . 260 261 define 262 a.MERGE.2:b 263 a.INVALID.1:c 264 ---- 265 266 iter 267 first 268 next 269 next 270 ---- 271 a#2,2:b 272 a#1,255:c 273 . 274 275 define 276 a.MERGE.2:b 277 a.MERGE.1:c 278 a.MERGE.0:d 279 ---- 280 281 iter snapshots=(1,2) 282 first 283 next 284 next 285 next 286 ---- 287 a#2,2:b 288 a#1,2:c 289 a#0,2:d 290 . 291 292 define 293 a.SET.2:b 294 a.RANGEDEL.1:c 295 b.RANGEDEL.4:d 296 b.SET.2:e 297 c.SET.3:f 298 ---- 299 300 iter 301 first 302 next 303 tombstones 304 ---- 305 a#2,1:b 306 . 307 a-b#1 308 b-c#4 309 c-d#4 310 . 311 312 iter snapshots=2 313 first 314 next 315 tombstones 316 ---- 317 a#2,1:b 318 . 319 a-b#1 320 b-c#4 321 b-c#1 322 c-d#4 323 . 324 325 iter snapshots=3 326 first 327 next 328 next 329 tombstones 330 ---- 331 a#2,1:b 332 b#2,1:e 333 . 334 a-b#1 335 b-c#4 336 b-c#1 337 c-d#4 338 . 339 340 iter snapshots=4 341 first 342 next 343 next 344 next 345 tombstones 346 ---- 347 a#2,1:b 348 b#2,1:e 349 c#3,1:f 350 . 351 a-b#1 352 b-c#4 353 b-c#1 354 c-d#4 355 . 356 357 define 358 a.RANGEDEL.3:e 359 b.SET.4:b 360 c.SET.3:c 361 d.SET.2:d 362 e.SET.1:e 363 ---- 364 365 iter 366 first 367 next 368 next 369 next 370 tombstones 371 ---- 372 b#4,1:b 373 c#3,1:c 374 e#1,1:e 375 . 376 a-e#3 377 . 378 379 define 380 a.RANGEDEL.3:e 381 b.MERGE.4:b 382 c.MERGE.3:c 383 d.MERGE.2:d 384 e.MERGE.1:e 385 ---- 386 387 iter 388 first 389 next 390 next 391 next 392 tombstones 393 ---- 394 b#4,2:b 395 c#3,2:c 396 e#1,2:e 397 . 398 a-e#3 399 . 400 401 define 402 a.RANGEDEL.3:c 403 b.MERGE.5:b 404 b.MERGE.4:c 405 b.MERGE.2:d 406 b.MERGE.1:e 407 d.MERGE.5:b 408 d.MERGE.4:c 409 d.RANGEDEL.3:f 410 d.MERGE.2:d 411 d.MERGE.1:e 412 ---- 413 414 iter 415 first 416 next 417 next 418 tombstones 419 ---- 420 b#5,2:bc 421 d#5,2:bc 422 . 423 a-c#3 424 d-f#3 425 . 426 427 define 428 a.RANGEDEL.3:d 429 b.RANGEDEL.2:e 430 c.RANGEDEL.1:f 431 ---- 432 433 iter 434 first 435 tombstones 436 ---- 437 . 438 a-b#3 439 b-c#3 440 c-d#3 441 d-e#2 442 e-f#1 443 . 444 445 iter snapshots=2 446 first 447 tombstones 448 ---- 449 . 450 a-b#3 451 b-c#3 452 c-d#3 453 c-d#1 454 d-e#2 455 d-e#1 456 e-f#1 457 . 458 459 iter snapshots=3 460 first 461 tombstones 462 ---- 463 . 464 a-b#3 465 b-c#3 466 b-c#2 467 c-d#3 468 c-d#2 469 d-e#2 470 e-f#1 471 . 472 473 iter snapshots=(2,3) 474 first 475 tombstones 476 ---- 477 . 478 a-b#3 479 b-c#3 480 b-c#2 481 c-d#3 482 c-d#2 483 c-d#1 484 d-e#2 485 d-e#1 486 e-f#1 487 . 488 489 define 490 a.SET.1:a 491 b.RANGEDEL.2:d 492 c.RANGEDEL.3:e 493 d.SET.4:d 494 ---- 495 496 iter 497 first 498 next 499 tombstones c 500 tombstones 501 ---- 502 a#1,1:a 503 d#4,1:d 504 b-c#2 505 c-d#3 506 . 507 c-d#3 508 d-e#3 509 . 510 511 iter snapshots=3 512 first 513 next 514 tombstones c 515 tombstones 516 ---- 517 a#1,1:a 518 d#4,1:d 519 b-c#2 520 c-d#3 521 c-d#2 522 . 523 c-d#3 524 c-d#2 525 d-e#3 526 . 527 528 define 529 a.SET.1:a 530 b.RANGEDEL.2:d 531 c.SET.4:d 532 ---- 533 534 iter 535 first 536 next 537 tombstones c 538 tombstones 539 ---- 540 a#1,1:a 541 c#4,1:d 542 b-d#2 543 . 544 c-d#2 545 . 546 547 define 548 a.RANGEDEL.2:d 549 a.SET.2:a 550 b.SET.2:b 551 c.SET.2:c 552 ---- 553 554 iter 555 first 556 next 557 next 558 next 559 ---- 560 a#2,1:a 561 b#2,1:b 562 c#2,1:c 563 .