8000 DUMP refuses vector-set and time-series keys, so MIGRATE and slot migration of them fail · Issue #722 · kividbio/kividb · GitHub
[go: up one dir, main page]

Skip to content

DUMP refuses vector-set and time-series keys, so MIGRATE and slot migration of them fail #722

Closed

Description

@murtazayusuf

dump_payload returns an error for KiviDBValue::TimeSeries and KiviDBValue::VectorSet (src/snapshot.rs, around line 5446: "DUMP not supported for TimeSeries and VectorSet keys").

DUMP is what MIGRATE, redis-cli --cluster reshard and our slot migration use to move a key. So any slot holding a vector set or a time series can't be moved, and resharding stops on it. Redis 8 DUMPs both types: vector sets are built in, and time series come with its modules.

Snapshots and replication already serialise both types, so the DUMP encoding can reuse that writer (with the payload's version and CRC around it), plus RESTORE for the other direction. Tests: DUMP/RESTORE round trip for both types, MIGRATE of each, and a reshard of a slot holding them.

Found while reading the vector-set code for #710.

Activity

  1. added
    bug
    redis-compat
    cluster
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugclusterredis-compat

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0