github.com/cockroachdb/pebble@v1.1.2/internal/keyspan/testdata/fragmenter_emit_order (about)

     1  build
     2  a.RANGEKEYSET.5 b
     3  a.RANGEKEYSET.4 b
     4  a.RANGEKEYUNSET.6 b
     5  ----
     6  a b: #6,RANGEKEYUNSET, #5,RANGEKEYSET, #4,RANGEKEYSET
     7  -
     8  
     9  # Test that keys emitted together that share the same sequence number are
    10  # ordered by key kind, descending.
    11  # NB: RANGEKEYSET > RANGEKEYUNSET > RANGEKEYDEL
    12  
    13  build
    14  b.RANGEKEYSET.5 c
    15  b.RANGEKEYUNSET.5 d
    16  b.RANGEKEYDEL.5 c
    17  ----
    18  b c: #5,RANGEKEYSET, #5,RANGEKEYUNSET, #5,RANGEKEYDEL
    19  -
    20  c d: #5,RANGEKEYUNSET
    21  -