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

     1  define
     2  a-b:{(#5,RANGEKEYSET) (#3,RANGEKEYSET)}
     3  ----
     4  a-b:{(#5,RANGEKEYSET) (#3,RANGEKEYSET)}
     5  
     6  visible-at
     7  6
     8  5
     9  4
    10  3
    11  2
    12  1
    13  ----
    14  6 : true
    15  5 : true
    16  4 : true
    17  3 : false
    18  2 : false
    19  1 : false
    20  
    21  # NB: #36028797018963996 and #36028797018963995 are sequence numbers with the
    22  # batch bit set. These keys should always be visible.
    23  
    24  define
    25  a-c:{(#36028797018963996,RANGEKEYSET) (#36028797018963995,RANGEKEYSET)}
    26  ----
    27  a-c:{(#36028797018963996,RANGEKEYSET) (#36028797018963995,RANGEKEYSET)}
    28  
    29  visible-at
    30  5
    31  1
    32  ----
    33  5 : true
    34  1 : true
    35  
    36  define
    37  a-c:{(#36028797018963996,RANGEKEYSET) (#36028797018963995,RANGEKEYSET) (#10,RANGEKEYSET) (#9,RANGEKEYSET) (#4,RANGEKEYSET) (#1,RANGEKEYSET)}
    38  ----
    39  a-c:{(#36028797018963996,RANGEKEYSET) (#36028797018963995,RANGEKEYSET) (#10,RANGEKEYSET) (#9,RANGEKEYSET) (#4,RANGEKEYSET) (#1,RANGEKEYSET)}
    40  
    41  visible-at
    42  12
    43  10
    44  8
    45  7
    46  4
    47  3
    48  2
    49  1
    50  ----
    51  12: true
    52  10: true
    53  8 : true
    54  7 : true
    55  4 : true
    56  3 : true
    57  2 : true
    58  1 : true