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

     1  sstable check
     2  ../sstable/testdata/h.sst
     3  ----
     4  h.sst
     5  
     6  sstable check
     7  testdata/out-of-order.sst
     8  ----
     9  out-of-order.sst
    10  WARNING: OUT OF ORDER KEYS!
    11      c#0,SET >= b#0,SET
    12  
    13  sstable check
    14  --key=%x
    15  testdata/out-of-order.sst
    16  ----
    17  out-of-order.sst
    18  WARNING: OUT OF ORDER KEYS!
    19      63#0,SET >= 62#0,SET
    20  
    21  sstable check
    22  --key=pretty
    23  testdata/out-of-order.sst
    24  ----
    25  out-of-order.sst
    26  WARNING: OUT OF ORDER KEYS!
    27      c#0,SET >= b#0,SET
    28  
    29  sstable check
    30  --key=pretty:test-comparer
    31  testdata/out-of-order.sst
    32  ----
    33  out-of-order.sst
    34  WARNING: OUT OF ORDER KEYS!
    35      test formatter: c#0,SET >= test formatter: b#0,SET
    36  
    37  sstable check
    38  --key=null
    39  testdata/out-of-order.sst
    40  ----
    41  out-of-order.sst
    42  WARNING: OUT OF ORDER KEYS!
    43  
    44  sstable check
    45  testdata/corrupted.sst
    46  ----
    47  corrupted.sst
    48  pebble/table: invalid table 000000 (checksum mismatch at 87/465)
    49  
    50  sstable check
    51  testdata/bad-magic.sst
    52  ----
    53  bad-magic.sst
    54  pebble/table: invalid table (bad magic number: 0xf6cff485b741e288)
    55  
    56  sstable check
    57  ./testdata/mixed/000005.sst
    58  ----
    59  000005.sst