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

     1  batch
     2  set a 1
     3  set b 2
     4  ----
     5  
     6  # The first L0 table can have its seqnums zeroed.
     7  flush
     8  ----
     9  0: a#0,1-b#0,1
    10  
    11  reset
    12  ----
    13  
    14  batch
    15  set a 1
    16  set b 2
    17  del a
    18  del b
    19  ----
    20  
    21  flush
    22  ----
    23  0: a#2,0-b#3,0
    24  
    25  batch
    26  set a 3
    27  ----
    28  
    29  # A second (overlapping) L0 table will have non-zero seqnums.
    30  flush
    31  ----
    32  0: a#2,0-b#3,0 a#4,1-a#4,1
    33  
    34  batch
    35  set c 4
    36  ----
    37  
    38  # A third (non-overlapping) L0 table will have non-zero seqnums.
    39  flush
    40  ----
    41  0: a#2,0-b#3,0 a#4,1-a#4,1 c#5,1-c#5,1
    42  
    43  reset
    44  ----
    45  
    46  batch
    47  set a 1
    48  set b 2
    49  del-range a c
    50  ----
    51  
    52  flush
    53  ----
    54  
    55  reset
    56  ----
    57  
    58  batch
    59  set a 1
    60  set b 2
    61  ----
    62  
    63  async-flush
    64  ----
    65  0: a#0,1-b#0,1