github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/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.0:
    10    000005:[a#10,SET-b#11,SET]
    11  
    12  reset
    13  ----
    14  
    15  batch
    16  set a 1
    17  set b 2
    18  del a
    19  del b
    20  ----
    21  
    22  flush
    23  ----
    24  0.0:
    25    000005:[a#12,DEL-b#13,DEL]
    26  
    27  batch
    28  set a 3
    29  ----
    30  
    31  # A second (overlapping) L0 table will have non-zero seqnums.
    32  flush
    33  ----
    34  0.1:
    35    000007:[a#14,SET-a#14,SET]
    36  0.0:
    37    000005:[a#12,DEL-b#13,DEL]
    38  
    39  batch
    40  set c 4
    41  ----
    42  
    43  # A third (non-overlapping) L0 table will have non-zero seqnums.
    44  flush
    45  ----
    46  0.1:
    47    000007:[a#14,SET-a#14,SET]
    48  0.0:
    49    000005:[a#12,DEL-b#13,DEL]
    50    000009:[c#15,SET-c#15,SET]
    51  
    52  reset
    53  ----
    54  
    55  batch
    56  set a 1
    57  set b 2
    58  del-range a c
    59  ----
    60  
    61  flush
    62  ----
    63  0.0:
    64    000005:[a#12,RANGEDEL-c#inf,RANGEDEL]
    65  
    66  reset
    67  ----
    68  
    69  batch
    70  set a 1
    71  set b 2
    72  ----
    73  
    74  async-flush
    75  ----
    76  0.0:
    77    000005:[a#10,SET-b#11,SET]