An open API service for software projects hosted on Open Collective.

Node Redis

Official collective of the Node.js Redis NPM packages; redis, redis-parser & more.
Collective - https://opencollective.com/node-redis - Website: https://noderedis.dev - Code: https://github.com/redis/node-redis

redis-check-aof.c: Avoid leaking file handle if file is zero bytes (#12797)

If fopen() is successful, but redis_fstat() determines the file is zero
bytes, the file handle ...

github.com/redis/redis - ae09d4d3ef56bcd390ba433cfb36135b4d723ae1 authored over 1 year ago
config.c: Avoid leaking file handle if redis_fstat() fails (#12796)

If fopen() is successful, but redis_fstat() fails, the file handle
stored in fp will leak. This...

github.com/redis/redis - 1c48d3dab29ae0ef9f3c1df4c69b59cfd1a90e09 authored over 1 year ago
util.c: Don't leak directory handle if recursive call to dirRemove fails (#12800)

If a recursive call to dirRemove() returns -1, dirRemove() the directory
handle stored in dir w...

github.com/redis/redis - 157e5d47b5326b27064955d30a694daf8f3b12cd authored over 1 year ago
Add an explanation for URI with -u in redis-cli (#2604)

It's good for users to know that they need to specify "default" as the username when authenticat...

github.com/redis/redis-doc - c2d73cd8d9c9a461bf18651287357caf23653bfa authored over 1 year ago
Bumped spellcheck action to latest version, since 0.23.0 is EOL

github.com/redis/redis-om-spring - c7d011979834dc6c48355c518ca61a3267cb75e5 authored over 1 year ago
Correction of map representation in RESP2 (#2587)

In the protocol spec, the description of how maps are represented in RESP2 is incorrect.

"Map...

github.com/redis/redis-doc - 072898399523843e4abb6c50e9e9a2ac1935910e authored over 1 year ago
Optimize dict expand check, move allow check after the thresholds check (#12789)

dictExpandAllowed (for the main db dict and the expire dict) seems to
involve a few function ca...

github.com/redis/redis - 463476933c47541c307eca47fd85e0ed4cb4f3e9 authored over 1 year ago
add some file level comments and copyright (#12793)

A followup PR for #12742
Add some brief comments explaining the purpose of the file to the head...

github.com/redis/redis - ef1ca6c8822201307b279420777333f153565f90 authored over 1 year ago
Fix dbExpand not dividing by slots, resulting in consuming slots times the dictExpand (#12773)

We meant to divide it by the number of slots, otherwise it will do slots
times
dictExpand, bug...

github.com/redis/redis - dedbf99a80b2ae3447877f2abb7520f1285c82ea authored over 1 year ago
Cluster refactor, common API for different implementations (#12742)

This PR reworks the clustering code to support multiple clustering
implementations, specificall...

github.com/redis/redis - 58cb30252600f3e5b8020f231cdd47243f61063d authored over 1 year ago
Cluster refactor: Some code convention fixes

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

github.com/redis/redis - eebb02582676c65300f37d4c470ae0f67ecb3723 authored over 1 year ago
Cluster refactor: Make clustering functions common

Move primary functions used to implement datapath
clustering into cluster.c, making them shared....

github.com/redis/redis - c6157b3510ca4641f1be63cdf810991441b04d85 authored over 1 year ago
Cluster refactor: break up clusterCommand

Divide up clusterCommand into clusterCommand for shared
sub-commands and clusterCommandSpecial f...

github.com/redis/redis - 4afc54ad9b77de13379b32b3fb934b00e640583a authored over 1 year ago
Cluster refactor: cluster.h - reorder functions into logical groups

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

github.com/redis/redis - 13b754853c11b6234512778e620e5576e546394b authored over 1 year ago
Cluster refactor: fn renames + small compilation issue on ubuntu

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

github.com/redis/redis - 290f376429ddfb43dd88215e274b2ffa3d5bcac9 authored over 1 year ago
Cluster refactor: s/clusterNodeGetSlotBit/clusterNodeCoversSlot/

Simple rename, "GetSlotBit" is implementation specific

Signed-off-by: Josh Hershberg <yehoshua@...

github.com/redis/redis - 33ef6a30039692ee3a106d058e2e9df1c7198ecf authored over 1 year ago
Cluster refactor: verifyClusterNodeId need not be 'public'

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

github.com/redis/redis - 040cb6a4aa4cee0529772fd979c654457f7e1628 authored over 1 year ago
Cluster refactor: Move items from cluster_legacy.c to cluster.c

Move (but do not change) some items from cluster_legacy.c
back info cluster.c. These items are s...

github.com/redis/redis - ac1513221bbb370d49e6dfc9904ab05db306a828 authored over 1 year ago
Cluster refactor: Add failover cmd support to cluster api

The failover command is up until now not supported
in cluster mode. This commit allows a cluster...

github.com/redis/redis - 2e5181ef28ff0db00cca013ba7986456bd1d32d0 authored over 1 year ago
Cluster refactor: Move more stuff from cluster.h to cluster_legacy.h

More declerations can be moved into cluster_legacy.h
as they are not requied for the cluster api...

github.com/redis/redis - 4944eda696fa5d9e1b48dc2b544ea13d5ca2b5c5 authored over 1 year ago
Cluster refactor: Make clusterNode private

Move clusterNode into cluster_legacy.h.
In order to achieve this some accessor methods
were adde...

github.com/redis/redis - d9a0478599cb91d4cd38763ad09947d055bb21a9 authored over 1 year ago
Cluster refactor: Make clusterState private

Move clusterState into cluster_legacy.h. In order to achieve
this some "accessor" methods needed...

github.com/redis/redis - 98a6c44b751df2a79d55703a8ff7caa740a8f064 authored over 1 year ago
refactor: shorten naming, simplify conditional branches in clusterclient

github.com/redis/rueidis - f81f163b9e3cce9dbacf9f66adbcc5e679642610 authored over 1 year ago
Block DEBUG POPULATE in loading and async-loading (#12790)

When we are loading data, it is not safe to generate data
through DEBUG POPULATE. POPULATE may ...

github.com/redis/redis - 2c41b135052125490a76c0d1cca968f86b10570a authored over 1 year ago
Merge pull request #402 from proost/feat-read-write-splitting

feat: read-write splitting

github.com/redis/rueidis - cb76d15d93dc7f02bfdb130012e4cba150854a22 authored over 1 year ago
Cluster refactor: Create new cluster.c and include of cluster_legacy.h

create new cluster.c

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

forgot to #include clu...

github.com/redis/redis - 6a6ae6ffe803485573bb22b9f97e416fc0bbe09d authored over 1 year ago
Cluster refactor: rename cluster.c -> cluster_legacy.c

Signed-off-by: Josh Hershberg <yehoshua@redis.com>

github.com/redis/redis - 86915775f15bcb4c6f8f6dc73b82e1d320e70776 authored over 1 year ago
Cluster refactor: Move trivial stuff into cluster_legacy.h

Move some declerations from cluster.h to cluster_legacy.h.
The items moved are specific to the l...

github.com/redis/redis - 5292adb9853ed366eb94ff465d6d4aceb5d1e6bc authored over 1 year ago
refacdtor: assign new connrole

github.com/redis/rueidis - d115a789988ccb28a17add44fb5422930d2a4442 authored over 1 year ago
refactor: rename more shorter & use struct

github.com/redis/rueidis - 3bb4fb58e43879fa87824249b8325a4751323c7d authored over 1 year ago
Bumped spellcheck action to latest version, since 0.23.0 is EOL (#206)

github.com/redis/NRedisStack - 6a17dfe213a729385bb611623de5f80e9cf1b84a authored over 1 year ago
dotnet 8 CI (#205)

dotnet 8 preview

github.com/redis/NRedisStack - 16ac7a7e452491df52a192232881a53bfe970260 authored over 1 year ago
refactor: define cluster connection

github.com/redis/rueidis - 3139c13ca43b983f16a136238fa71deb1bd2e0a6 authored over 1 year ago
redis-cli --bigkeys ,--hotkeys and --memkeys to replica in cluster mode (#12735)

Make redis-cli --bigkeys and --memkeys usable on a replicas in cluster
mode, by sending the REA...

github.com/redis/redis - 4278ed8de5c5c3c023b28c34330ef45aaab75446 authored over 1 year ago
Add an explanation for URI with -u in redis-cli --help (#12751)

Add documentation of the URI format in the `--help` output of
`redis-cli` and `redis-benchmark`...

github.com/redis/redis - a1f91ffa180ad109917ef35d75dea5569b3022d5 authored over 1 year ago
Adding missing SWAPDB related test cases. (#12769)

We have some test cases of swapdb with watchkey but missing seperate
basic swapdb test cases, u...

github.com/redis/redis - 5a1f4b9aec4b6351b6102a2d2057a319ead9d76a authored over 1 year ago
Fix timing issue in CLUSTER SLAVE / REPLICAS consistent test (#12774)

CI reports that this test failed, the reason is because during
the command processing, the node...

github.com/redis/redis - 3d9c427f8c017c62e3e62883c4dfe599f060f104 authored over 1 year ago
feat: bump v1.0.22

github.com/redis/rueidis - 3ed2b3ed77783493acf332cc5bbbff9541f1a950 authored over 1 year ago
Merge pull request #1239 from eregon/fix-race-update-truffleruby

Fix races in publish_subscribe_test.rb and update truffleruby

github.com/redis/redis-rb - 58e43cff79a1a41c9a3979deec499149003d9767 authored over 1 year ago
refactor: change more code simpler

github.com/redis/rueidis - 9cf7c83422d6e301edda91f380bfbfd5e61a5c06 authored over 1 year ago
refactor: use pconns

github.com/redis/rueidis - 1178a7cfa1763dd2333525147020c5bf2ae9f708 authored over 1 year ago
Fix races in publish_subscribe_test.rb

* See https://github.com/oracle/truffleruby/issues/3321

github.com/redis/redis-rb - 2a65de5a3bf5503c1122b952a691f28f24c0a9b8 authored over 1 year ago
Use latest truffleruby version

* Older versions are not supported.

github.com/redis/redis-rb - c430c8400f0f0cdc91f377409363f2beb194a1be authored over 1 year ago
replace calculateKeySlot with known slot in evictionPoolPopulate (#12777)

github.com/redis/redis - eb392c0a6f247d507df07ca39386bf2b5d895424 authored over 1 year ago
check dbSize when rewrite AOF, in case unnecessary SELECT (#12775)

Introduced by #11695, should skip empty db in case unnecessary SELECT.

github.com/redis/redis - 6013122c8e094e67891017ee1321d47d54363549 authored over 1 year ago
Merge pull request #1238 from zendesk/ktsanaktsidis/make_error_collection_useful

Cluster: Preserve message and suberrors when raising CommandErrorCollection

github.com/redis/redis-rb - a592a63d6371ea4359c5334dbe523cc1425a2228 authored over 1 year ago
Cluster: Preserve message and suberrors when raising CommandErrorCollection

The constructor signature for CommandErrorCollection is (errors,
message). That means if you cal...

github.com/redis/redis-rb - 07e7849d65e91ac5499f199944480cb3b31abfae authored over 1 year ago
Merge pull request #412 from lenonqing/master

fix(adapter): Closes #411

github.com/redis/rueidis - 4532630306ad234bc53cd97441e9f208fa6663c5 authored over 1 year ago
Version 5.1.0a1 (#3044)

github.com/redis/redis-py - 8875d553ba52b630f6c23cd69723f2be720b15b8 authored over 1 year ago
Client Side Caching: Alpha support (#3038)

* CSC

* get keys from command

* fix review comments

* return respone in execute_command...

github.com/redis/redis-py - 69782750343496b7b88bf82c006f4205afd7aabd authored over 1 year ago
Rename 'activeactive' package to 'mcf' (#3615)

* Rename 'activeactive' package to 'mcf'

* Reformat imports in UnifiedJedis

github.com/redis/jedis - c1cc657e8b3a984aab8779f84aa0ff55c2b29118 authored over 1 year ago
Fix empty rehashing list in swapdb mode (#12770)

In swapdb mode, the temp db does not init the rehashing list,
the change added in #12764 caused...

github.com/redis/redis - 9b6dded421cbd0eed78c4da28196de7ef5adb6e8 authored over 1 year ago
fix(adapter): Closes #411

github.com/redis/rueidis - 5a6bb6952b49cfcba11b1b799b0bda113298dfa1 authored over 1 year ago
fix: handle transaction

github.com/redis/rueidis - eac17d5f2ab9afedfeab468c8529d1343365d72f authored over 1 year ago
Merge pull request #2595 from BharadwajDivate/patch-1

Update install-redis-on-windows.md

github.com/redis/redis-doc - 4351d164cd2c15f25b3299d085e75f25cc5051ea authored over 1 year ago
Put SCAN details back to SCAN page (#2535)

Moving the text back from Keyspace Tutorial to where it was moved in an earlier change.

Co-au...

github.com/redis/redis-doc - ce712a989185fe91f6177106dc70b5b56684bcd2 authored over 1 year ago
Fix discrepancy in lists.md (#2546)

The line I've updated made sense with the previous code snippet.
The commit af1734cafec11cd9bb6...

github.com/redis/redis-doc - 9698b8ba81cae1c2251ca035598a9a1dcc3db120 authored over 1 year ago
Fix wording in cli.md (#2600)

github.com/redis/redis-doc - e83b601af68fa64bf0f552f2963d7468b6846844 authored over 1 year ago
Pipeline & Transaction with failover to multi cluster (#3602)

github.com/redis/jedis - 0d772988f1c8626d727e12c997605916f7f084a8 authored over 1 year ago
Merge pull request #1236 from zendesk/ktsanaktsidis/pass_watch

Pass watch: kwarg to #multi calls on clients

github.com/redis/redis-rb - 6729fc8f8a27fe3331f6d30cf306b7e7abe77a94 authored over 1 year ago
Pass watch: kwarg to #multi calls on clients

Both RedisClient and RedisClient::Cluster have #multi methods that
accept a watch: kwarg to watc...

github.com/redis/redis-rb - a0c1ede2d2361f1f920c712dba01824b8b14ac87 authored over 1 year ago
Add FalkorDB under modules (#2545)

github.com/redis/redis-doc - b4980035940e341c83be356afeb14cae71ebb958 authored over 1 year ago
Change 'this counters' to 'these counters' (#2540)

github.com/redis/redis-doc - a242d79d8627f554690b62ce3724554f1a3af43e authored over 1 year ago
Change examples using HMSET to HSET as the former is deprecated (#2569)

HMSET is deprecated as of Redis 4.0.0, and HSET is the preferred method for this interaction. Th...

github.com/redis/redis-doc - 32b7378fb63b3d47f4a714b27fdf37f35d75e41d authored over 1 year ago
Empty rehashing list in emptyDbStructure (#12764)

This is currently harmless, since we have already cleared the dict
before, it will reset the re...

github.com/redis/redis - 4366bbaa616c9043ca4b44e63affc31dfcb6ab24 authored over 1 year ago
Merge pull request #408 from redis/fix-atomic-alignment

fix: atomic alignment issue on 32bit arch

github.com/redis/rueidis - b76ed73c7c714d574d9e543b122bc26a2de79db3 authored over 1 year ago
fixed infinite nested loop during metamodel creation

github.com/redis/redis-om-spring - f7c4fa66440294aed869e295d467942745083b48 authored over 1 year ago
fix: atomic alignment issue on 32bit arch

github.com/redis/rueidis - 4d57e3a6485546966ad88db4ba9aaa3a1a84f44d authored over 1 year ago
Fix DB iterator not resetting pauserehash causing dict being unable to rehash (#12757)

When using DB iterator, it will use dictInitSafeIterator to init a old safe
dict iterator. When...

github.com/redis/redis - fe3630634031bde9c2b8a9cc8a3ab4e94ad8f680 authored over 1 year ago
refactor: remove unused variable

github.com/redis/rueidis - e7db040977fbaae2920faa0e7e84940256aa7e43 authored over 1 year ago
refactor: remove useless assigned variable

github.com/redis/rueidis - 600ecb060dcf12a25048d89d10783a8598158770 authored over 1 year ago
Add CLUSTER SHARDS command support (#3598)

* Add CLUSTER SHARDS command (#2984)

* Added new classes for CLUSTER SHARDS response

* Slo...

github.com/redis/jedis - 452ea52338ac9112de65a18c691529f22857c715 authored over 1 year ago
Reduce FreeBSD daily scope. (#12758)

The full test is very flaky running on a VM inside GitHub worker, so we
have to settle for only...

github.com/redis/redis - a9e73c00bc1056eae4db98ca4bd1c126d994889d authored over 1 year ago
chore: apply fieldalignment

github.com/redis/rueidis - bb1f91aee488a21a6426f1e576904ec2d6702725 authored over 1 year ago
Adding valgrind to rdb-cli tests (#31)

Extend tests that execute rdb-cli the option to run as well with valgrind.

github.com/redis/librdb - dd1f828b20dedf69263af030b229fdf434b10c38 authored over 1 year ago
refactor: make isSendReplicas methos

github.com/redis/rueidis - f7197a8efc893604e35ef4a7dce36c86979f2682 authored over 1 year ago
filter commits for main branch (#3608)

github.com/redis/jedis - 701df2493b0e667da839ff482b2fe46989758113 authored over 1 year ago
Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 (#3611)

Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire)...

github.com/redis/jedis - 82f63aa9a85b81c925faeaaf200affc8d8fc2158 authored over 1 year ago
Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 (#3612)

Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-pl...

github.com/redis/jedis - 6cb2be6429597d01ec996c30043ef36caf144e9d authored over 1 year ago
Fix parsing resp3 dicts (#2982)

github.com/redis/redis-py - 0113034634c7b4968cfc34b42980f3ad86eb1fc6 authored over 1 year ago
Fix BlockingConnectionPool.from_url parsing of timeout in query args #2983 (#2984)

Co-authored-by: Romain Fliedel <romain@oqee.tv>

github.com/redis/redis-py - c2d5596e4b200b4da883315a23a976736d18835a authored over 1 year ago
feat: Align go-redis ProbabilisticCmdable (#406)

* init commit

* WIP: Add new command types

* copy tests from go-redis

* add go-redis te...

github.com/redis/rueidis - 72146cabfc07590667c8cf741ad0b42c908a49bf authored over 1 year ago
Add DEBUG_ASSERTIONS option to custom assert (#12667)

This PR introduces a new macro, serverAssertWithInfoDebug, to do complex assertions only for deb...

github.com/redis/redis - 88e83e517bf2b5271c4df435ec9daf4a6c132230 authored over 1 year ago
test: fix call to (*T).Fatalf from a non-test goroutine

github.com/redis/rueidis - 1b9839f1514dd1fe58f56f58e6a46c2ceaef6c29 authored over 1 year ago
Increase timeout for expiry cluster tests (#12752)

Test recently added fails on timeout in valgrind in GH actions.

Locally with valgrind the tes...

github.com/redis/redis - 9ca8490315063a426793516e25a23065f3647679 authored over 1 year ago
Merge pull request #404 from h0rv/main

Add Normalized Vector Tests for `TestVectorString32`/`64`

github.com/redis/rueidis - e6b78ec1046da4d893c5e59921bbba1002ac507a authored over 1 year ago
Add normal vector test for `TestVectorString32`/`64`

github.com/redis/rueidis - 4972fdcea3855da1947d62893cce4e592096838e authored over 1 year ago
Grammar correction in sorted-sets.md (#2547)

github.com/redis/redis-doc - 4a13bd56abd92ba2157299601a64301dd93a6cff authored over 1 year ago
Correction of examples for sets datatype (#2531)

github.com/redis/redis-doc - 14154f27876b9d40a679d5ab826a00d2bddb2884 authored over 1 year ago
Correction of examples for lists (#2530)

github.com/redis/redis-doc - 852466779eba5de5672195e453a415f5d45fa5ec authored over 1 year ago
Add radish, the gleam client (#2598)

github.com/redis/redis-doc - 0dbba45128c2f072d42ef6e4e7969bd2ba89b5bf authored over 1 year ago
reset bucket_count when empty db (#12750)

Introduced in #12697 , should reset bucket_count when empty db, or the overhead memory usage of ...

github.com/redis/redis - 6258edebf04ef5104409e11c60b60923db0e778f authored over 1 year ago
feat: read-write splitting

github.com/redis/rueidis - 48408b1d0b143c3a97f7617d6ac4298fe6e0e594 authored over 1 year ago
fix the wrong judgement for activerehashing in standalone mode (#12741)

Introduced by #11695, the judgement should be dictIsRehashing.

github.com/redis/redis - cf6ed3feeb95059817d7fa8685aa04a8a33a1f92 authored over 1 year ago
Fix genClusterDebugString minor sds leaks (#12739)

This function now will only be called in printCrashReport,
so this is just a cleanup.

github.com/redis/redis - 53294e537cd6c267b96320e68dde5c36a4ac4ffb authored over 1 year ago
Before evicted and before expired server events are not executed inside an execution unit. (#12733)

Redis 7.2 (#9406) introduced a new modules event, `RedisModuleEvent_Key`.
This new event allows...

github.com/redis/redis - 0ffb9d2ea9f5ea7d9840bfb77543b04a63303f9b authored over 1 year ago
Added HSET variants to ease complex objects (#3605)

focusing RediSearch.

github.com/redis/jedis - dbf475c73ce8e4d034acedb9b356fdad8fd2ee86 authored over 1 year ago
Merge pull request #2596 from Obeyed/fix-zrank-withscore-reference-in-resp-replies-examples

Update ZRANK WITHSCORE reference in resp2 & resp3_replies.json

github.com/redis/redis-doc - ea39ce1101ae939faa0b8174da0c98812c96513e authored over 1 year ago
Update ZRANK WITHSCORE resp2 & resp3_replies.json

github.com/redis/redis-doc - d780e33f944071e00223df97aa4d37636d2e856e authored over 1 year ago
Use cross-platform-actions for FreeBSD support. (#12732)

This change overcomes many stability issues experienced with the
vmactions action.

We need t...

github.com/redis/redis - 6223355cf37aa7d3186b63ca2dfc3be79750db8a authored over 1 year ago