github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/testdata/batch_delete_range (about)

     1  define
     2  set a 1
     3  set b 2
     4  merge c 3
     5  del-range a c
     6  del d
     7  ----
     8  
     9  scan
    10  ----
    11  a#12,1:1
    12  b#17,1:2
    13  c#22,2:3
    14  d#32,0:
    15  
    16  scan range-del
    17  ----
    18  a#27,15:c
    19  
    20  clear
    21  ----
    22  
    23  define
    24  del-range a b
    25  del-range b c
    26  del-range a c
    27  del-range b d
    28  ----
    29  
    30  scan range-del
    31  ----
    32  a#22,15:b
    33  a#12,15:b
    34  b#27,15:c
    35  b#22,15:c
    36  b#17,15:c
    37  c#27,15:d
    38  
    39  clear
    40  ----
    41  
    42  define
    43  del-range a b
    44  ----
    45  
    46  scan range-del
    47  ----
    48  a#12,15:b
    49  
    50  define
    51  del-range b c
    52  ----
    53  
    54  scan range-del
    55  ----
    56  a#12,15:b
    57  b#17,15:c
    58  
    59  define
    60  del-range a c
    61  ----
    62  
    63  scan range-del
    64  ----
    65  a#22,15:b
    66  a#12,15:b
    67  b#22,15:c
    68  b#17,15:c
    69  
    70  define
    71  del-range b d
    72  ----
    73  
    74  scan range-del
    75  ----
    76  a#22,15:b
    77  a#12,15:b
    78  b#27,15:c
    79  b#22,15:c
    80  b#17,15:c
    81  c#27,15:d