github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/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#10,SET [31]
    17  000004.log
    18      aaa#17,DEL []
    19  000005.sst [aaa#10,SET-ccc#14,MERGE]
    20      (flushed to L0, moved to L6)
    21      aaa#10,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#17,DEL-eee#inf,RANGEDEL]
    26      (flushed to L0)
    27      aaa#17,DEL []
    28  000011.sst [aaa#17,DEL-eee#inf,RANGEDEL]
    29      (compacted L0 [000010] + L6 [000008 ...])
    30      aaa#17,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#11,SET test value formatter: 2
    41  000004.log
    42      626262-656565#19,RANGEDEL
    43  000005.sst [616161#10,SET-636363#14,MERGE]
    44      (flushed to L0, moved to L6)
    45      626262#11,SET test value formatter: 2
    46  000006.sst [626262#15,SET-636363#15,SET]
    47      (ingested to L0)
    48      626262#15,SET test value formatter: 22
    49  000008.sst [616161#0,SET-636363#0,MERGE]
    50      (compacted L0 [000006] + L6 [000005])
    51      626262#15,SET test value formatter: 22
    52      626262#0,SET test value formatter: 2
    53  000010.sst [616161#17,DEL-656565#inf,RANGEDEL]
    54      (flushed to L0)
    55      626262-656565#19,RANGEDEL
    56  000011.sst [616161#17,DEL-656565#inf,RANGEDEL]
    57      (compacted L0 [000010] + L6 [000008 ...])
    58      626262-656565#19,RANGEDEL
    59      626262#15,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#12,MERGE
    69      ccc#13,MERGE
    70      ccc#14,MERGE
    71  000004.log
    72      ccc#18,SINGLEDEL
    73      bbb-eee#19,RANGEDEL
    74  000005.sst [aaa#10,SET-ccc#14,MERGE]
    75      (flushed to L0, moved to L6)
    76      ccc#14,MERGE
    77  000006.sst [bbb#15,SET-ccc#15,SET]
    78      (ingested to L0)
    79      ccc#15,SET
    80  000008.sst [aaa#0,SET-ccc#0,MERGE]
    81      (compacted L0 [000006] + L6 [000005])
    82      ccc#15,SET
    83      ccc#0,MERGE
    84  000010.sst [aaa#17,DEL-eee#inf,RANGEDEL]
    85      (flushed to L0)
    86      bbb-eee#19,RANGEDEL
    87  000011.sst [aaa#17,DEL-eee#inf,RANGEDEL]
    88      (compacted L0 [000010] + L6 [000008 ...])
    89      bbb-eee#19,RANGEDEL
    90      ccc#15,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      9 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: 15
   109  find-db/archive/000007.sst: global seqnum: 16
   110  find-db/archive/000008.sst
   111  find-db/archive/000010.sst
   112  find-db/000011.sst
   113  000004.log
   114      bbb-eee#19,RANGEDEL
   115  000007.sst [ddd#16,SET-ddd#16,SET]
   116      (ingested to L6)
   117      ddd#16,SET [3333]
   118  000010.sst [aaa#17,DEL-eee#inf,RANGEDEL]
   119      (flushed to L0)
   120      bbb-eee#19,RANGEDEL
   121  000011.sst [aaa#17,DEL-eee#inf,RANGEDEL]
   122      (compacted L0 [000010] + L6 [000007 ...])
   123      bbb-eee#19,RANGEDEL
   124      ddd#16,SET [3333]
   125  
   126  find
   127  testdata/find-db
   128  eee
   129  ----
   130  000004.log
   131      bbb-eee#19,RANGEDEL
   132  
   133  find
   134  testdata/find-mixed
   135  hex:636363
   136  --value=null
   137  ----
   138  000002.sst
   139      test formatter: ccc#14,MERGE
   140  Unable to decode sstable find-mixed/000001.sst, pebble/table: invalid table (file size is too small)