Skip to content

Bug: while scanning, removing elements may hide other elements #1348

@moritzraho

Description

@moritzraho

See
https://github.com/stipsan/ioredis-mock/blob/main/src/commands-utils/scan-command.common.js#L55

The start cursor may not accurately point to the "end" index of the last iteration when elements were removed in between calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions