github.com/cockroachdb/pebble@v1.1.2/testdata/compaction_output_splitters (about)

     1  
     2  # arraySplitter tests
     3  
     4  reset
     5  ----
     6  ok
     7  
     8  init child0 mock
     9  ----
    10  ok
    11  
    12  init child1 mock
    13  ----
    14  ok
    15  
    16  init main array
    17  ----
    18  ok
    19  
    20  set-should-split child0 no-split
    21  ----
    22  ok
    23  
    24  set-should-split child1 no-split
    25  ----
    26  ok
    27  
    28  should-split-before foo.SET.2
    29  ----
    30  no-split
    31  
    32  set-should-split child1 split-now
    33  ----
    34  ok
    35  
    36  should-split-before foo.SET.2
    37  ----
    38  split-now
    39  
    40  set-should-split child1 no-split
    41  ----
    42  ok
    43  
    44  should-split-before foo.SET.2
    45  ----
    46  no-split
    47  
    48  set-should-split child0 split-now
    49  ----
    50  ok
    51  
    52  should-split-before foo.SET.2
    53  ----
    54  split-now
    55  
    56  # userKeyChangeSplitter tests
    57  
    58  reset
    59  ----
    60  ok
    61  
    62  init child0 mock
    63  ----
    64  ok
    65  
    66  init main userkey
    67  ----
    68  ok
    69  
    70  should-split-before foo.SET.6
    71  ----
    72  no-split
    73  
    74  should-split-before foo.SET.5
    75  ----
    76  no-split
    77  
    78  set-should-split child0 split-now
    79  ----
    80  ok
    81  
    82  should-split-before foo.SET.4
    83  ----
    84  no-split
    85  
    86  should-split-before foo.SET.3
    87  ----
    88  no-split
    89  
    90  should-split-before food.SET.6
    91  ----
    92  split-now
    93  
    94  set-should-split child0 no-split
    95  ----
    96  ok
    97  
    98  should-split-before food.SET.5
    99  ----
   100  no-split
   101  
   102  set-should-split child0 split-now
   103  ----
   104  ok
   105  
   106  should-split-before food.SET.4
   107  ----
   108  no-split
   109  
   110  should-split-before food2.SET.4
   111  ----
   112  split-now