redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scanstream bug?

yovanoc opened this issue · comments

I don't know if its a bug or not but if the same client perform 2 scanStream at the same time they will not gives all the keys. But creating a new client for each works good.

thanks in advance

I just had the same issue. Seems like SCAN needs to be done separately on each node. Example fix for scanning for BullMQ queues: taskforcesh/taskforce-connector#82

It feels like this should be handled internally by ioredis.