8000 A cluster node loads keys from databases other than 0 where no client can reach them; Redis refuses to start · Issue #484 · kividbio/kividb · GitHub
[go: up one dir, main page]

Skip to content

A cluster node loads keys from databases other than 0 where no client can reach them; Redis refuses to start #484

Open

Description

@murtazayusuf

In cluster mode, SELECT is refused (src/commands/handler.rs, around line 1053), so only database 0 is reachable. Yet a cluster node loads keys from databases 1 to 15 of an RDB or KDB file, and from database 16 up if databases is large enough since #479, into databases no client can reach. Slot accounting and slot migration ignore those databases too, so the keys sit there using memory, and nothing reports them.

Expected (Redis): refuse to start, with can't have keys in a DB different than DB 0 when in Cluster mode. Do the same for a full sync into a cluster node.

Found while reviewing #479.

Activity

  1. added
    bugSomething isn't working
    redis-compatA test in Redis's own test suite fails against KiviDB
    on Nov 6, 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

    bugSomething isn't workingredis-compatA test in Redis's own test suite fails against KiviDB

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0