github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/testdata/iter_histories/set_options (about)

     1  # Ensure bounds and key-types provided through SetOptions are respected.
     2  
     3  reset
     4  ----
     5  
     6  batch commit
     7  set a a
     8  set b b
     9  set c c
    10  set d d
    11  set f f
    12  range-key-set a   ap  @6 foo
    13  range-key-set ap  c   @5 bar
    14  range-key-set cat zoo @3 bax
    15  ----
    16  committed 8 keys
    17  
    18  combined-iter lower=b upper=e
    19  first
    20  next
    21  next
    22  next
    23  next
    24  set-options lower=a upper=cat key-types=both
    25  first
    26  next
    27  next
    28  next
    29  set-options lower=a upper=cat key-types=point
    30  first
    31  next
    32  next
    33  next
    34  ----
    35  b: (b, [b-c) @5=bar UPDATED)
    36  c: (c, . UPDATED)
    37  cat: (., [cat-e) @3=bax UPDATED)
    38  d: (d, [cat-e) @3=bax)
    39  .
    40  .
    41  a: (a, [a-ap) @6=foo UPDATED)
    42  ap: (., [ap-c) @5=bar UPDATED)
    43  b: (b, [ap-c) @5=bar)
    44  c: (c, . UPDATED)
    45  .
    46  a: (a, .)
    47  b: (b, .)
    48  c: (c, .)
    49  .
    50  
    51  flush
    52  ----
    53  
    54  metrics
    55  ----
    56  Metrics.Keys.RangeKeySetsCount = 3