Skip to content

Redis Cluster - Orphaned Keys #7153

@Tbone542

Description

@Tbone542

Recently we migrated some hash slots to other nodes.

During the migration there was an error. What ended up happening is once the migration did finally succeed, we ended up with orphaned keys in memory on the source instance.

Is there any way to safely delete keys from a slot on a node that is not assigned to the hash slot anymore.

Example, slot 690 failed during migration from node A to node B. It was subsequently successful and node B now owns slot 690. It appears there are still keys from slot 690 in node A, which end up in the backup files. Any reference to slot 690 in redis cli points me to node B.

Thanks,
Ted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions