node-redis
node-redis copied to clipboard
Redis Node.js client
### Description According to the [documentation](https://redis.io/docs/latest/commands/zadd/), ZADD should return null if the operation was aborted because of a conflict. This `null` is converted to `0` because the command does not...
### Description ``` import { createClient } from 'redis' const client = redis.createClient({ url: 'redis://127.0.0.1:6379' }); ``` -------------- Uncaught (in promise) TypeError: url_1.URL is not a constructor ### Node.js Version...
### Description https://github.com/redis/ioredis/issues/1866 Issue Title - Multiple set commands are sent in single packet to server - no pipeline in code - auto pipeline is also not enabled. #1866 Please...
first part of supporting what to do with "missing" values that has been implemented in RedisSearch
### Description Usage: `client.ft.search(index, query, option)` Exception: `Cannot read properties of undefined (reading 'length')` Error location: [https://github.com/redis/node-redis/blob/master/packages/search/lib/commands/SEARCH.ts](https://github.com/redis/node-redis/blob/master/packages/search/lib/commands/SEARCH.ts) `while (i < tuples.length) {` The debug log shows that the reply value...
Update the cluster examples with Aws Elasticache Clusters with TLS https://github.com/redis/node-redis/discussions/2768#discussioncomment-9649686
### Description `#slots.rediscover()` is correctly called when `MOVED` or `ASK` reply is received: https://github.com/redis/node-redis/blob/6f79b49f731a1aaf57f42e16ea72774f062e57a1/packages/client/lib/cluster/index.ts#L271 https://github.com/redis/node-redis/blob/6f79b49f731a1aaf57f42e16ea72774f062e57a1/packages/client/lib/cluster/index.ts#L256 there is a problem / race-condition on scale-down cluster (rebalance hash slots away, forget node,...
Hi, I'm migrating my implementation from ioredis to this package instead. Current implementation looks kinda like: ``` import Keyv from 'keyv'; import KeyvRedis from '@keyv/redis'; import Redis from 'ioredis'; import...
### Description These are a set of tabbed code examples (TCEs) for selected command pages. --- ### Checklist - [ ] Does `npm test` pass with this change (including linting)?...
### Description We found when upgrading the node-redis client from version 3.1.2 to 4.7.0 it failed to recover after a socket closed unexpectedly error. We added all of the possible...