Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioredis cluster - All keys in the pipeline should belong to the same slot #34

Open
0xAnakin opened this issue May 26, 2020 · 0 comments

Comments

@0xAnakin
Copy link

It appears that there is an issue when providing a cluster client setup to the configuration.

const RedisCluster = require('ioredis').Cluster;

The same code will work fine if redis-clustr module is used instead.

0|index  | 17056 Tue, 26 May 2020 15:25:39 GMT [MetalDust]: Cluster leader job clusterMetricsMonitor failed because of Error: All keys in the pipeline should belong to the same slot
0|index  |     at Pipeline.exec (D:\Development\GIT\Quintessa\Quintessa\node_modules\ioredis\built\pipeline.js:216:29)
0|index  |     at Pipeline.pipeline.exec (D:\Development\GIT\Quintessa\Quintessa\node_modules\ioredis\built\transaction.js:38:34)
0|index  |     at D:\Development\GIT\Quintessa\Quintessa\node_modules\redis-metrics\lib\utils.js:127:31
0|index  |     at new Promise (<anonymous>)
0|index  |     at Object.ninvoke (D:\Development\GIT\Quintessa\Quintessa\node_modules\redis-metrics\lib\utils.js:116:10)
0|index  |     at TimestampedCounter.topRange (D:\Development\GIT\Quintessa\Quintessa\node_modules\redis-metrics\lib\counter.js:600:18)
@0xAnakin 0xAnakin changed the title It appears taht ioredis cluster slots error May 26, 2020
@0xAnakin 0xAnakin changed the title ioredis cluster slots error ioredis cluster - All keys in the pipeline should belong to the same slot May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant