Skip to content

Opening DB with lots of keys hangs #3665

@bp74

Description

@bp74

RDM Version: 0.8.7.317

Environment (OS name and version): Windows 8.1

Redis Server Version: 3.0.0

Steps to reproduce:

  1. Connect to the server
  2. Open db0 which contains lots of keys (my db0 has 215165 keys)
  3. Watch RDM to hang

Expected result:
RDM should load all keys (even if it takes some time) and then show the tree

Actual Result:
RDM starts loading the keys but stops after a few thousand keys.

Here is the output from the log window:

2016-08-02 10:23:52 : Connection: lx-devredis01
(DEV) > [runCommand] scan 0 MATCH * COUNT 10000
2016-08-02 10:23:53 : Connection: lx-devredis01
(DEV) > Response received : Array
2016-08-02 10:23:53 : Connection: lx-devredis01
(DEV) > [runCommand] scan 132144 MATCH * COUNT 10000
.... waiting forever .....

If you try again and you are lucky, it works a little bit longer:

2016-08-02 10:25:38 : Connection: lx-devredis01
(DEV) > [runCommand] scan 0 MATCH * COUNT 10000
2016-08-02 10:25:38 : Connection: lx-devredis01
(DEV) > Response received : Array
2016-08-02 10:25:38 : Connection: lx-devredis01
(DEV) > [runCommand] scan 1072 MATCH * COUNT 10000
2016-08-02 10:25:38 : Connection: lx-devredis01
(DEV) > Response received : Array
2016-08-02 10:25:38 : Connection: lx-devredis01
(DEV) > [runCommand] scan 202776 MATCH * COUNT 10000
2016-08-02 10:25:39 : Connection: lx-devredis01
(DEV) > Response received : Array
2016-08-02 10:25:39 : Connection: lx-devredis01
(DEV) > [runCommand] scan 141348 MATCH * COUNT 10000
.... waiting forever .....

Sometimes it also happens that RDM does not hang, but crashes in the same situation.

I did the same test with RDM 0.8.6.270 and this version worsk fine!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions