Support decoding cells with timestamps as bson

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tools
    • None
    • Storage Engines - Persistence
    • SE Persistence backlog
    • None

      The attached page cannot decode the cell values as bson because the cells have timestamps and transaction metadata. Fix the cell value decoding to account for these. For reference the page is from a mongdb catalogue.

      0: desc: 0x35 
        short key 13 bytes
        <packed 41 (0x29)> <packed 1 (0x1)> <packed 3 (0x3)> <packed 7608437202250366978 (0x6996995300000002)> <packed 0 (0x0)>
      1: desc: 0x8c extra: 0x78 runlength/addr: 0 (0x0) 
        val 289 bytes
        cell has timestamps:
         start ts: 0x6996995300000002
         start txn: 0x23
         stop ts: 0x6996995300000003
         stop txn: 0x24
        cannot decode cell as BSON: invalid message size
        e8 69 96 99 52 ff ff df c3 e8 69 96 99 52 ff ff  .i..R.....i..R..
        df c2 83 0e 01 00 00 02 69 64 65 6e 74 00 30 00  ........ident.0.
        00 00 63 6f 6c 6c 65 63 74 69 6f 6e 2d 39 64 61  ..collection-9da
        31 31 37 34 32 2d 37 37 64 33 2d 34 62 65 34 2d  11742-77d3-4be4-
        38 32 36 39 2d 61 32 39 36 33 35 32 66 65 62 37  8269-a296352feb7
        35 00 03 69 64 78 49 64 65 6e 74 00 05 00 00 00  5..idxIdent.....
        00 03 6d 64 00 9f 00 00 00 02 6e 73 00 14 00 00  ..md......ns....
        00 63 6f 6e 66 69 67 2e 74 72 61 6e 73 61 63 74  .config.transact
        69 6f 6e 73 00 03 6f 70 74 69 6f 6e 73 00 67 00  ions..options.g.
        00 00 05 75 75 69 64 00 10 00 00 00 04 df ee 00  ...uuid.........
        b3 f9 84 43 d0 90 4d e5 67 cb 65 65 d6 03 63 6c  ...C..M.g.ee..cl
        75 73 74 65 72 65 64 49 6e 64 65 78 00 37 00 00  usteredIndex.7..
        00 10 76 00 02 00 00 00 03 6b 65 79 00 0e 00 00  ..v......key....
        00 10 5f 69 64 00 01 00 00 00 00 02 6e 61 6d 65  .._id.......name
        00 05 00 00 00 5f 69 64 5f 00 08 75 6e 69 71 75  ....._id_..uniqu
        65 00 01 00 00 04 69 6e 64 65 78 65 73 00 05 00  e.....indexes...
        00 00 00 00 02 6e 73 00 14 00 00 00 63 6f 6e 66  .....ns.....conf
        69 67 2e 74 72 61 6e 73 61 63 74 69 6f 6e 73 00  ig.transactions.
        00  
      

      Run with

      python3 wt_binary_decode.py --fragment --verbose --disagg --bson decrypted_page_1_25_100_fullimage.bin
      

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: