github.com/cockroachdb/pebble@v1.1.2/testdata/point_collapsing_iter (about)

     1  
     2  define
     3  a.SET.5:foo
     4  b.SET.6:foo
     5  b.DEL.4:
     6  c.SET.7:bar
     7  c.SET.5:foo
     8  ----
     9  
    10  iter
    11  first
    12  next
    13  next
    14  next
    15  next
    16  ----
    17  a#5,1:foo
    18  b#6,1:foo
    19  c#7,1:bar
    20  .
    21  .
    22  
    23  # Ensure that we pause at (and return) rangedel start points correctly.
    24  
    25  define
    26  a.RANGEDEL.4:b
    27  a.SET.5:foo
    28  b.RANGEDEL.3:c
    29  b.SET.6:foo
    30  b.DEL.4:
    31  c.SET.7:bar
    32  c.SET.5:foo
    33  ----
    34  
    35  iter
    36  seek-ge b
    37  next
    38  next
    39  ----
    40  b#72057594037927935,15:
    41  b#6,1:foo
    42  c#7,1:bar
    43  
    44  # More rangedel elision tests
    45  
    46  define
    47  a.RANGEDEL.4:b
    48  a.SET.5:foo
    49  b.RANGEDEL.4:c
    50  b.SET.3:foo
    51  b.DEL.2:
    52  c.SET.7:bar
    53  c.SET.5:foo
    54  ----
    55  
    56  iter
    57  seek-ge a
    58  next
    59  next
    60  next
    61  next
    62  ----
    63  a#72057594037927935,15:
    64  a#5,1:foo
    65  b#72057594037927935,15:
    66  c#7,1:bar
    67  .