redis / redis/node-redis

scanIterator on Cluster

Open
#1,877 1 comment 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
TypeScript
Stars
17.6k
Forks
2k
Avg merge
2d 3h
Merged PRs (30d)
40

Description

Connection failed. TypeError: cluster.scanIterator(...) is not a function or its return value is not async iterable

Environment:

  • Node.js Version: 14.4.0
  • Redis Server Version: 6.0.5
  • Node Redis Version: redis@4.0.2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cluster.scanIterator failure with Node.js 14.4.0, Redis 6.0.5, and redis@4.0.2. Then inspect the cluster.scanIterator entry point and its existing tests; done means the call works without the reported TypeError and async-iterable failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, redis, typescript
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.