Skip to content

Tests Needed For Valkey Compatibility #67

@HDT3213

Description

@HDT3213

Parsing support for Valkey 9+ RDB files, including:

  • VALKEY magic number (RDB version 80)
  • typeHash2 encoding (Hash with field-level expiration, Valkey format)
  • opCode SlotInfo (244) and opCode SlotImport (243)

What to test:

  • Parse a Valkey 9+ RDB dump with rdb -c json and verify all data types are correctly parsed
  • Specifically test Hash objects with field-level expiration (HEXPIRE / HPEXPIRE) — verify field expirations are output correctly
  • Test on Valkey cluster mode RDB files (which contain SlotInfo/SlotImport opcodes)
  • Verify that Redis 7.4+ Hash with HFE (field expiration) still works correctly after the refactoring

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions