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

     1  # NB: The empty line in 'init' configures a frontier with no keys. It should
     2  # never be added to the heap.
     3  
     4  init
     5  b e j
     6  a p n z
     7  
     8  f
     9  ----
    10  
    11  scan
    12  a b c d e f g h j i k l m n o p q r s t u v w x y z
    13  ----
    14  a : { b: "b", p: "p", f: "f" }
    15  b : { e: "e", p: "p", f: "f" }
    16  c : { e: "e", p: "p", f: "f" }
    17  d : { e: "e", p: "p", f: "f" }
    18  e : { f: "f", p: "p", j: "j" }
    19  f : { j: "j", p: "p" }
    20  g : { j: "j", p: "p" }
    21  h : { j: "j", p: "p" }
    22  j : { p: "p" }
    23  i : { p: "p" }
    24  k : { p: "p" }
    25  l : { p: "p" }
    26  m : { p: "p" }
    27  n : { p: "p" }
    28  o : { p: "p" }
    29  p : { z: "z" }
    30  q : { z: "z" }
    31  r : { z: "z" }
    32  s : { z: "z" }
    33  t : { z: "z" }
    34  u : { z: "z" }
    35  v : { z: "z" }
    36  w : { z: "z" }
    37  x : { z: "z" }
    38  y : { z: "z" }
    39  z : {  }
    40  
    41  scan
    42  z
    43  ----
    44  z : {  }
    45  
    46  scan
    47  a z
    48  ----
    49  a : { b: "b", p: "p", f: "f" }
    50  z : {  }
    51  
    52  scan
    53  e
    54  ----
    55  e : { f: "f", p: "p", j: "j" }
    56  
    57  # Test duplicate user keys within a frontier and across individual frontiers.
    58  
    59  init
    60  b e e g
    61  c e z
    62  ----
    63  
    64  scan
    65  a c d f z
    66  ----
    67  a : { b: "b", c: "c" }
    68  c : { e: "e", e: "e" }
    69  d : { e: "e", e: "e" }
    70  f : { g: "g", z: "z" }
    71  z : {  }