github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/testdata/compaction_find_l0_limit (about)

     1  define flush_split_bytes=4
     2  L0
     3     a.SET.1-k.SET.10 size=2
     4     l.SET.11-o.SET.13 size=2
     5     p.SET.14-s.SET.16 size=2
     6     t.SET.17-w.SET.19 size=2
     7  ----
     8  0.0:
     9    000001:[a#1,SET-k#10,SET]
    10    000002:[l#11,SET-o#13,SET]
    11    000003:[p#14,SET-s#16,SET]
    12    000004:[t#17,SET-w#19,SET]
    13  flush split keys:
    14  	s
    15  
    16  flush
    17  a c f l o s u x
    18  ----
    19  a-s
    20  u-x
    21  
    22  define flush_split_bytes=2
    23  L0
    24     a.SET.1-k.SET.10 size=2
    25     l.SET.11-o.SET.13 size=2
    26     p.SET.14-s.SET.16 size=2
    27     t.SET.17-w.SET.19 size=2
    28  ----
    29  0.0:
    30    000005:[a#1,SET-k#10,SET]
    31    000006:[l#11,SET-o#13,SET]
    32    000007:[p#14,SET-s#16,SET]
    33    000008:[t#17,SET-w#19,SET]
    34  flush split keys:
    35  	o
    36  	w
    37  
    38  flush
    39  a c f l o s u x
    40  ----
    41  a-o
    42  s-u
    43  x-x
    44  
    45  define flush_split_bytes=1
    46  L0
    47     a.SET.1-k.SET.10 size=2
    48     l.SET.11-o.SET.13 size=2
    49     p.SET.14-s.SET.16 size=2
    50     t.SET.17-w.SET.19 size=2
    51  ----
    52  0.0:
    53    000009:[a#1,SET-k#10,SET]
    54    000010:[l#11,SET-o#13,SET]
    55    000011:[p#14,SET-s#16,SET]
    56    000012:[t#17,SET-w#19,SET]
    57  flush split keys:
    58  	k
    59  	o
    60  	s
    61  	w
    62  
    63  flush
    64  a c f l o s u x
    65  ----
    66  a-f
    67  l-o
    68  s-u
    69  x-x
    70  
    71  define flush_split_bytes=0
    72  L0
    73     a.SET.1-k.SET.10 size=2
    74     l.SET.11-o.SET.13 size=2
    75     p.SET.14-s.SET.16 size=2
    76     t.SET.17-w.SET.19 size=2
    77  ----
    78  0.0:
    79    000013:[a#1,SET-k#10,SET]
    80    000014:[l#11,SET-o#13,SET]
    81    000015:[p#14,SET-s#16,SET]
    82    000016:[t#17,SET-w#19,SET]
    83  flush split keys:
    84  
    85  flush
    86  a c f l o s u x
    87  ----
    88  a-x