Skip to content

rdb文件version:10 解析到stream时遇到错误 #29

@codelife

Description

@codelife

rdb文件version:10 解析到stream时遇到错误, 以下是一些信息. 现有rdb数据结构里没有stream的数据结构. 如果有参考文档请标明下,十分感谢
`readStreamListPacks version: 2 encode: listpack
readStreamEntries: length: 60
readStreamEntries index: 0 header: [0 0 1 137 147 155 165 86 0 0 0 0 0 0 0 0]
readStreamEntries firstId:1690398598486-0 ms: 1690398598486, seq: 0
line132 count: 17
line137 deleted: 0
line144 : fieldNum0: 4
line158 : masterFieldNames: [app_id client_id status payload]
client_status:.ead stream item flag failed: $a0346185-50b5-4d47-b2c8-004d2694ec52�1 (2

account_id 866f3b913df14d472007941600001010:
statusONLINE:
port20083 is not a uint
client_status:.eam item flag110 failed: $a0346185-50b5-4d47-b2c8-004d2694ec52�1 (2

部分实际数据
`*********:6379> XRANGE client_status_stream 1690398598486-0 1690508095589-5

    1. "1690398598486-0"
      1. "app_id"
      2. "123456"
      3. "client_id"
      4. "ChAUnX10KZBleXxHWtxmLimDEAEY6dQgIN2YBigC"
      5. "status"
      6. "OFFLINE"
      7. "payload"
      8. "\x12$************************************\x18\xd6\xca\xee\x9c\x991 \xa0\x99\x02(\x042\rclient_status:.\n\naccount_id\x12 866f3b913df14d472007941600001010:\x11\n\x06status\x12\aOFFLINE"
    1. "1690398600783-0"
      1. "payload"
      2. "\x12$************************************\x18\xce\xdc\xee\x9c\x991 \xa0\x99\x02(\x042\rclient_status:.\n\naccount_id\x12 866f3b913df14d472007941600001010:\x10\n\x06status\x12\x06ONLINE:\r\n\x04port\x12\x0520083"
      3. "client_id"
      4. "ChAUnX10KZBleXxHWtxmLimDEAEY6dQgIN2YBigC"
      5. "app_id"
      6. "123456"
      7. "status"
      8. "ONLINE"
        `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions