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

     1  define
     2  a.SET.1:1
     3  a.SET.2:2
     4  b.SET.1:1
     5  b.DEL.2:
     6  c.SET.1:1
     7  c.MERGE.2:2
     8  ----
     9  
    10  dump seq=0
    11  ----
    12  a#1,1:2
    13  a#0,1:1
    14  b#3,0:
    15  b#2,1:1
    16  c#5,2:2
    17  c#4,1:1
    18  
    19  dump seq=100
    20  ----
    21  a#101,1:2
    22  a#100,1:1
    23  b#103,0:
    24  b#102,1:1
    25  c#105,2:2
    26  c#104,1:1
    27  
    28  define
    29  c.SET.1:1
    30  b.SET.1:1
    31  a.SET.1:1
    32  ----
    33  
    34  dump seq=1000
    35  ----
    36  a#1002,1:1
    37  b#1001,1:1
    38  c#1000,1:1
    39  
    40  iter
    41  first
    42  next
    43  next
    44  next
    45  ----
    46  a:1
    47  b:1
    48  c:1
    49  .
    50  
    51  iter
    52  last
    53  prev
    54  prev
    55  prev
    56  ----
    57  c:1
    58  b:1
    59  a:1
    60  .
    61  
    62  iter lower=b
    63  seek-ge b
    64  prev
    65  ----
    66  b:1
    67  .
    68  
    69  iter lower=c
    70  seek-lt b
    71  ----
    72  .
    73  
    74  iter lower=e
    75  last
    76  ----
    77  .
    78  
    79  iter upper=1
    80  first
    81  ----
    82  .
    83  
    84  iter upper=b
    85  first
    86  next
    87  ----
    88  a:1
    89  .
    90  
    91  iter upper=b
    92  seek-ge b
    93  ----
    94  .
    95  
    96  iter
    97  set-bounds lower=b
    98  seek-ge b
    99  prev
   100  ----
   101  b:1
   102  .
   103  
   104  iter
   105  set-bounds lower=c
   106  seek-lt b
   107  ----
   108  .
   109  
   110  iter
   111  set-bounds lower=e
   112  last
   113  ----
   114  .
   115  
   116  iter
   117  set-bounds upper=1
   118  first
   119  ----
   120  .
   121  
   122  iter
   123  set-bounds upper=b
   124  first
   125  next
   126  ----
   127  a:1
   128  .
   129  
   130  iter
   131  set-bounds upper=b
   132  seek-ge b
   133  ----
   134  .
   135  
   136  iter
   137  first
   138  set-bounds upper=b
   139  seek-ge b
   140  ----
   141  a:1
   142  .