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

     1  find
     2  ----
     3  accepts 2 arg(s), received 0
     4  
     5  find
     6  non-existent
     7  key
     8  ----
     9  stat non-existent: file does not exist
    10  
    11  find
    12  testdata/find-db
    13  aaa
    14  ----
    15  000002.log
    16      aaa#1,SET [31]
    17  000004.log
    18      aaa#8,DEL []
    19  000005.sst [aaa#1,SET-ccc#5,MERGE]
    20      (flushed to L0, moved to L6)
    21      aaa#1,SET [31]
    22  000008.sst [aaa#0,SET-ccc#0,MERGE]
    23      (compacted L0 [...] + L6 [000005])
    24      aaa#0,SET [31]
    25  000010.sst [aaa#8,DEL-eee#inf,RANGEDEL]
    26      (flushed to L0)
    27      aaa#8,DEL []
    28  000011.sst [aaa#8,DEL-eee#inf,RANGEDEL]
    29      (compacted L0 [000010] + L6 [000008 ...])
    30      aaa#8,DEL []
    31      aaa#0,SET [31]
    32  
    33  find
    34  testdata/find-db
    35  bbb
    36  --key=%x
    37  --value=pretty:test-comparer
    38  ----
    39  000002.log
    40      626262#2,SET test value formatter: 2
    41  000004.log
    42      626262-656565#10,RANGEDEL
    43  000005.sst [616161#1,SET-636363#5,MERGE]
    44      (flushed to L0, moved to L6)
    45      626262#2,SET test value formatter: 2
    46  000006.sst [626262#6,SET-636363#6,SET]
    47      (ingested to L0)
    48      626262#6,SET test value formatter: 22
    49  000008.sst [616161#0,SET-636363#0,MERGE]
    50      (compacted L0 [000006] + L6 [000005])
    51      626262#6,SET test value formatter: 22
    52      626262#0,SET test value formatter: 2
    53  000010.sst [616161#8,DEL-656565#inf,RANGEDEL]
    54      (flushed to L0)
    55      626262-656565#10,RANGEDEL
    56  000011.sst [616161#8,DEL-656565#inf,RANGEDEL]
    57      (compacted L0 [000010] + L6 [000008 ...])
    58      626262-656565#10,RANGEDEL
    59      626262#6,SET test value formatter: 22
    60      626262#0,SET test value formatter: 2
    61  
    62  find
    63  testdata/find-db
    64  hex:636363
    65  --value=null
    66  ----
    67  000002.log
    68      ccc#3,MERGE
    69      ccc#4,MERGE
    70      ccc#5,MERGE
    71  000004.log
    72      ccc#9,SINGLEDEL
    73      bbb-eee#10,RANGEDEL
    74  000005.sst [aaa#1,SET-ccc#5,MERGE]
    75      (flushed to L0, moved to L6)
    76      ccc#5,MERGE
    77  000006.sst [bbb#6,SET-ccc#6,SET]
    78      (ingested to L0)
    79      ccc#6,SET
    80  000008.sst [aaa#0,SET-ccc#0,MERGE]
    81      (compacted L0 [000006] + L6 [000005])
    82      ccc#6,SET
    83      ccc#0,MERGE
    84  000010.sst [aaa#8,DEL-eee#inf,RANGEDEL]
    85      (flushed to L0)
    86      bbb-eee#10,RANGEDEL
    87  000011.sst [aaa#8,DEL-eee#inf,RANGEDEL]
    88      (compacted L0 [000010] + L6 [000008 ...])
    89      bbb-eee#10,RANGEDEL
    90      ccc#6,SET
    91      ccc#0,MERGE
    92  
    93  find
    94  testdata/find-db
    95  ddd
    96  -v
    97  ----
    98  find-db
    99      1 manifest
   100      3 logs
   101      6 sstables
   102  find-db/MANIFEST-000001
   103     10 edits
   104  find-db/archive/000002.log
   105  find-db/archive/000004.log
   106  find-db/000009.log
   107  find-db/archive/000005.sst
   108  find-db/archive/000006.sst: global seqnum: 6
   109  find-db/archive/000007.sst: global seqnum: 7
   110  find-db/archive/000008.sst
   111  find-db/archive/000010.sst
   112  find-db/archive/000011.sst
   113  000004.log
   114      bbb-eee#10,RANGEDEL
   115  000007.sst [ddd#7,SET-ddd#7,SET]
   116      (ingested to L6)
   117      ddd#7,SET [3333]
   118  000010.sst [aaa#8,DEL-eee#inf,RANGEDEL]
   119      (flushed to L0)
   120      bbb-eee#10,RANGEDEL
   121  000011.sst [aaa#8,DEL-eee#inf,RANGEDEL]
   122      (compacted L0 [000010] + L6 [000007 ...])
   123      bbb-eee#10,RANGEDEL
   124      ddd#7,SET [3333]
   125  
   126  find
   127  testdata/find-db
   128  eee
   129  ----
   130  000004.log
   131      bbb-eee#10,RANGEDEL
   132  
   133  find
   134  testdata/find-mixed
   135  hex:636363
   136  --value=null
   137  ----
   138  000002.sst
   139      test formatter: ccc#0,SET
   140  Unable to decode sstable find-mixed/000001.sst, pebble/table: invalid table (file size is too small)