Skip to content

LOADING Redis is loading the dataset in memory #50

@artur-ma

Description

@artur-ma

When there is a reshard and scaleReads param is set to all or slave , the replica can return an error "LOADING Redis is loading the dataset in memory".

Expected behavior

If scaleReads is set to slave it should wait for the replica to be ready, or untill command times out.
if scaleReads is set to all it should fallback to master (this is a bit dangerous since master can become overloaded)

Actual behavior

It throws the error returned from the DB

Some related context redis/ioredis#358

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