Ecosyste.ms: OpenCollective

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

github.com/redis/redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
https://github.com/redis/redis

Update redis.conf (#10396)

Typo in conf file comment.

b104f3cabc1020e46e76dbc13984ab90a1584158 authored almost 3 years ago
XREADGROUP: Unblock client if stream is deleted (#10306)

Deleting a stream while a client is blocked XREADGROUP should unblock the client.

The idea is...

2a2954086a28b9969882158a5b0630c3f944c051 authored almost 3 years ago
script should not allow may-replicate commands when client pause write (#10364)

In some special commands like eval_ro / fcall_ro we allow no-writes commands.
But may-replicate...

728e62523e1a7998ed30be2ab0a6947390ff6a87 authored almost 3 years ago
dismiss COW of client output buffer now that it's dynamic (#10371)

since #9822, the static reply buffer is no longer part of the client structure, so we need to di...

b3fe4f31a2b705abef147edf4b625f53e2dc7c9f authored almost 3 years ago
remove a piece of redundant comment (#10392)

introduced in #10147 since we blocked the first-arg mechanism on subcommands

4f19b4d0c1a40c7853557da31bc3c2c8dc101530 authored almost 3 years ago
Fix redis-benchmark --cluster with IPv6. (#10393)

Currently, CLUSTER NODES is parsed and was not done correctly for IPv6
addresses.

38052fd702e6925a3354e0927ff813fc16f67b08 authored almost 3 years ago
Add missing doc_flags to cluster-slaves (#10387)

Add `DEPRECATED` doc_flag.

7ef68cd5ec23f1d03657cb43a0966d4e7ff877d1 authored almost 3 years ago
Modules: Add REDISMODULE_EVENT_CONFIG (#10311)

Add a new REDISMODULE_EVENT_CONFIG event type for notifying modules when Redis configuration cha...

23f03e7965649ca3bbdac8d5e9bd64f4e8c37b2c authored almost 3 years ago
Fix timing issue in rehash test (#10388)

`Expected '*table size: 4096*' to match '*table size: 8192*'`

This test failed once on daily ...

45d83fb2d49c9d44249265b3ccb63cd39fa50501 authored almost 3 years ago
Fix redis-cli test issues on tcl8.5. (#10386)

Apparently using `\x` produces different results between tclsh 8.5 and
8.6, whereas `\u` is mor...

6740e1753d4e1d60a70195817c50da7f33d3082c authored almost 3 years ago
redis-cli: Better --json Unicode support and --quoted-json (#10286)

Normally, `redis-cli` escapes non-printable data received from Redis, using a custom scheme (whi...

e3ef73dc2a557232c60c732705e8e6ff2050eba9 authored almost 3 years ago
Constrain cluster node name logging (#10376)

Cluster node name is not null terminated, so need to be constrained.

af6d5c5932fa4fc1a0461af5e3df50e9c284c4f9 authored almost 3 years ago
A faster and more robust code of zslRandomLevel using RAND_MAX (#5539)

1. since ZSKIPLIST_P is float, using it directly inside the condition used to causes floating po...

feb032fd42d24959c0ba141d8fb5d621f0570345 authored almost 3 years ago
Introduce debug command to disable reply buffer resizing (#10360)

In order to resolve some flaky tests which hard rely on examine memory footprint.
we introduce ...

9b15dd288e2a053cc84f3e0088a0275dc7c17486 authored almost 3 years ago
Move most of the configuration to a hashtable (#10323)

* Moved configuration storage from a list to a hash table
* Configs are returned in a non-deter...

4a45386e3c7c95dff65802f758feefd00091790b authored almost 3 years ago
Fix acl dryrun to return the tested common permission error. (#10359)

21aabab4013a651420e954fe1ae6ad06cc6e5a15 authored almost 3 years ago
Fix memory leak in RM_StreamIteratorStop and moduleFreeKeyIterator (#10353)

* Fix memory leak in RM_StreamIteratorStop
* Fix memory leak in moduleFreeKeyIterator

dff153ff247478015d0cf93f0f46a222169ac09c authored almost 3 years ago
enable daily CI on release branches (#10357)

9478d5a1343f81c416334025fba0c9c1559ed105 authored almost 3 years ago
deflake client-eviction test "evict clients only until below limit" (#10354)

After introducing #9822 need to prevent client reply buffer shrink
to maintain correct client m...

5860fa3d9c59711493a4a40383a1a7d90e422ebe authored almost 3 years ago
update redis-cli help.h (#10352)

re-generate help.h from commands.json

fa5d90069f921eaecce98d15ea3d66ee34e32e9f authored almost 3 years ago
Fix node-id type in cluster-setslot (#10348)

* The type of node-id should be string, not integer.
* Also improve the CLUSTER SETSLOT help me...

ad7a6275ff9493f0d74a01005b6e19f460b3f8dd authored almost 3 years ago
Make git ignore all files starting with appendonly.aof (#10351)

a6fd23753701a6700fc1e9d4d9d2c3404ab02890 authored almost 3 years ago
Sort out the mess around Lua error messages and error stats (#10329)

This PR fix 2 issues on Lua scripting:
* Server error reply statistics (some errors were counte...

aa856b39f2ca65dbcc0eaae2d2c52f7a35291bbf authored almost 3 years ago
Enable redis-benchmark to use RESP3 protocol mode (#10335)

Adds `-3` option to cause redis-benchmark to send a `HELLO 3`
to it can benchmark the effects o...

9f30dd03cd136eda00f5eb82f28f503452fdd11a authored almost 3 years ago
Fixed typo in variable name (#10347)

35fccd875a3bbd8b0e66ce9d7bf47d5a6ce94ded authored almost 3 years ago
Optimization: Avoid deferred array reply on ZRANGE commands BYRANK (#10337)

Avoid deferred array reply on genericZrangebyrankCommand() when consumer type is client.
I.e. a...

1dc89e2d0230f4bcadf21ee8185b79a12b001cf0 authored almost 3 years ago
Update to latest hiredis (#10297)

This is basically just a subtree pull of the latest (unreleased) hiredis.

Unfortunately, the ...

e8c5b66ed2aaf40bec345ff5aca90721fb707d30 authored almost 3 years ago
Fix XGROUP HELP message missing a newline (#10339)

Add a comma, this would have resulted in missing newline in the message.
Forgot to add in #9127

b4079abed4bc012d96eb2c2bb776f6be8cd246f8 authored almost 3 years ago
Add stream consumer group lag tracking and reporting (#9127)

Adds the ability to track the lag of a consumer group (CG), that is, the number
of entries yet-...

c81c7f51c38de6dff5ffc55b5184061b84c7ea5f authored almost 3 years ago
Optimize deferred replies to use shared objects instead of sprintf (#10334)

Avoid sprintf/ll2string on setDeferredAggregateLen()/addReplyLongLongWithPrefix() when we can us...

b857928ba7b1d40ef96de7b94bf115e2e59e3075 authored almost 3 years ago
Sentinel: fix a free-after-use issue re-registering Sentinels. (#10333)

In case HELLO message received from another sentinel, with same address like another instance re...

a7179e75705aab90b155d0512d7e8e0fffd60383 authored almost 3 years ago
Fix timing issue in EXEC fail on lazy expired WATCHed key test (#10332)

The test will fail on slow machines (valgrind or FreeBsd).
Because in #10256 when WATCH is call...

488aecb3abca3088735f1bffa60a74e22832d44b authored almost 3 years ago
Fix PUBSUB SHARDNUMSUB command json file (#10331)

argument was missing, affecting redis.io docs

de6be8850f1cec69263ad4f5713ef06f0274d50e authored almost 3 years ago
Reduce system calls of write for client->reply by introducing writev (#9934)

There are scenarios where it results in many small objects in the reply list,
such as commands ...

496375fc36134c72461e6fb97f314be3adfd8b68 authored almost 3 years ago
Delete key doesn't dirty client who watched stale key (#10256)

When WATCH is called on a key that's already logically expired, avoid discarding the
transactio...

e9ae03787e0a2e0484914737f82bfe216f8e9d52 authored almost 3 years ago
introduce dynamic client reply buffer size - save memory on idle clients (#9822)

Current implementation simple idle client which serves no traffic still
use ~17Kb of memory. th...

47c51d0c7858dc8ce7747b78b73cf8cec2e59ff3 authored almost 3 years ago
Implemented module getchannels api and renamed channel keyspec (#10299)

This implements the following main pieces of functionality:
* Renames key spec "CHANNEL" to be ...

71204f9632591dd6525cf5325ac2c661ba3ad3f0 authored almost 3 years ago
Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated. (#10315)

* Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF
* mark SLAVEOF as deprecated

c4c68f5d419689da2881ee705f4299aa4a2ddba0 authored almost 3 years ago
Fix path copy error and add more logs. (#10324)

Since we didn't copy the null terminator to temp_filepath, dirname could return the wrong result.

4916d79fbdbfdb4819f11a6c2c22a7b576e1c6e7 authored almost 3 years ago
fix return value of loadAppendOnlyFiles (#10295)

Make sure the status return from loading multiple AOF files reflects the overall
result, not ju...

65e4bce0e79b09a1666753889c0ca4038c235e43 authored almost 3 years ago
Fix error stats and failed command stats for blocked clients (#10309)

This is a followup work for #10278, and a discussion about #10279

The changes:
- fix failed_...

fad0b0d2a680498fce1cd7e153f8ad7396a79edf authored almost 3 years ago
Fix script active defrag test (#10318)

This includes two fixes:
* We forgot to count non-key reallocs in defragmentation stats.
* Fix...

b59bb9b476cbcc9ed321dc5172be3ba2e0738142 authored almost 3 years ago
Fix geo search bounding box check causing missing results (#10018)

Consider the following example:
1. geoadd k1 -0.15307903289794921875 85 n1 0.3515625 85.0001926...

b2d393b9902fd159878a2f94632853db52e220b8 authored almost 3 years ago
Fix a mistake in comments (#10312)

There is no variable named by REPL_STATE_RECEIVE_PSYNC_REPLY, it should be REPL_STATE_RECEIVE_PS...

9b0fd9f4d0e7e41f3cc78b4bd37619b574246aef authored almost 3 years ago
Show publishshard_sent stat in cluster info (#10314)

publishshard was added in #8621 (7.0 RC1), but the publishshard_sent
stat is not shown in CLUST...

c0ea77f0e19441f54e7303641b9387d281c2c3db authored almost 3 years ago
aof rewrite and rdb save counters in info (#10178)

Add aof_rewrites and rdb_snapshots counters to info.
This is useful to figure our if a rewrite ...

56fa48ffc136b7540f8144562d8aa2a13b8a3fa7 authored almost 3 years ago
Adapt redis-check-aof tool for Multi Part Aof (#10061)

Modifications of this PR:
1. Support the verification of `Multi Part AOF`, while still maintain...

a50aa29bde33f22dabc307c4a28bc2321f8acdfe authored almost 3 years ago
Use sds for clusterNode.hostname (#10290)

* Provide a fallback static_assert implementation
* Use sds for clusterNode.hostname

f7f68c654a90c4d3e84121c4555a56682b02b2de authored almost 3 years ago
Removed double semicolon at the end of line (#10305)

cca3577503037117f497085d7994af944c0379e5 authored almost 3 years ago
Fix OpenSSL 3.0.x related issues. (#10291)

* Drop obsolete initialization calls.
* Use decoder API for DH parameters.
* Enable auto DH pa...

3881f7850f9f81720315bd4f33f2f9dedcc242bb authored almost 3 years ago
Reapply: Rename sds calls so they don't conflict.

Reapply this commit on top of hiredis as a local change. Previosuly it
was pulled from a private...

47400870ae25a62aa6fa85e9c26af1c357a44b79 authored almost 3 years ago
Merge commit '418de21d8feb35303904ec718fcd1387e4699d2f' into refresh-hiredis

886a04c2c3899611b352e87070aa874e321f9034 authored almost 3 years ago
Squashed 'deps/hiredis/' changes from 00272d669..f8de9a4bd

f8de9a4bd Merge pull request #1046 from redis/rockylinux-ci
a41c9bc8b CentOS 8 is EOL, switch to...

418de21d8feb35303904ec718fcd1387e4699d2f authored almost 3 years ago
fix "Connect multiple replicas at the same time" test (#10294)

In order to make sure no more commands processed, we wait that
the 'load handlers' will disconn...

e6478cfd10ae5ce8312c49823142d4dfcf0f45bb authored almost 3 years ago
Fix and improve module error reply statistics (#10278)

This PR handles several aspects
1. Calls to RM_ReplyWithError from thread safe contexts don't v...

b099889a3a6dccf5243135f0611b8cdb11cab7b8 authored almost 3 years ago
Add workflow_dispatch filters for daily CI. (#10289)

sometimes you just wanna run one test on one system (e.g. memefficiency
on macos), so you want ...

1193e96d0275470e11ae6b6b6d9ffedecf99958b authored almost 3 years ago
Regression test for sync psync crash (#10288)

Added regression tests for #10020 / #10081 / #10243.
The above PRs fixed some crashes due to an...

62c8be28ee7d15f90103f52bcf4a4c91f9ba7396 authored almost 3 years ago
Fix Eval scripts defrag (broken 7.0 in RC1) (#10271)

Remove scripts defragger since it was broken since #10126 (released in 7.0 RC1).
would crash th...

2eb9b19612db39b1bb91902c9669e28883bbbee7 authored almost 3 years ago
Fix duplicate module options define (#10284)

The bug is introduced by #9323. (released in 7.0 RC1)
The define of `REDISMODULE_OPTIONS_HANDLE...

5f0119ca91ad37d8b656d51bcfc46c600d177e8f authored almost 3 years ago
Modify AOF preamble related logs, and change the RDB aux field (#10283)

In multi-part aof, We no longer have the concept of `RDB-preamble`, so the related logs should ...

a2f2b6f5b19569b5e414a2b9099aa880c070e1ac authored almost 3 years ago
Check target node is a primary during cluster setslot. (#10277)

a5d17f0b6c85ade94ea04ef7645752398424910c authored almost 3 years ago
Use binary representation for key values dumped to crash log (#10275)

Use binary representation for key values dumped crash to log,
so that if they contain null char...

5bdd72bea77d4bb237441c9a671e80edcdc998ad authored almost 3 years ago
Fix the misleading description of the option repl-ping-slave-period (#4687)

Co-authored-by: yoav-steinberg <[email protected]>

88795f5cba1fae8dab6b04cb68c4c80f06c0297c authored almost 3 years ago
Add AUTH arity test (#10266)

Add test for AUTH with too many arguments

64e1e7e207eced22ca348d76fd5653698d931546 authored almost 3 years ago
Remove unused code - leftover from script replication mechanisms (#10272)

append for PR #9812

ceeff6bf86e6b5cf35f528a1dd969ae060554228 authored almost 3 years ago
Fix INFO SENTINEL memory leak (#10268)

* Fix INFO SENTINEL memory leak

Introduced in #6891

* remove the copy-paste sentence

beb94c901e814f63fe1170d72104c81d62fa663a authored almost 3 years ago
fix grammar issue in a comment (#10269)

Fixed some syntax errors in the comments

051cc3d2e630d0c2bb84495c6f6df0237684421e authored almost 3 years ago
Attempt to fix a rare crash in cluster tests. (#10265)

The theory is that a replica gets disconnected from within REPLCONF ACK,
so when we go up the s...

aa9beaca7727993d7d996348ea1fe9699b0fd90a authored about 3 years ago
Fix SENTINEL DEBUG with wrong arguments (#10258)

There are two issues in SENTINEL DEBUG:
1. The error message should mention SENTINEL DEBUG
2. ...

0990dec3f5c331c7eae6e219716b4d57dd185ccb authored about 3 years ago
Remove duplicate header file include (#10264)

34c288fe11dd690686a294f55f0be60e9c5b629d authored about 3 years ago
Remove assert and refuse delete expired on ro replicas (#10248)

There's an assertion added recently to make sure that non-write commands don't use lookupKeyWrit...

b571c9609da99a62e79de1ca268f3c4431e5f38d authored about 3 years ago
Make INFO command variadic (#6891)

This is an enhancement for INFO command, previously INFO only support one argument
for differen...

2e1bc942aa00a76ed3b0e5e2678da4ac90071d19 authored about 3 years ago
Consistent erros returned from EVAL scripts (#10218)

This PR handles inconsistencies in errors returned from lua scripts.
Details of the problem can...

b76016a948ecaf475ddda7958776df9bd5cf9621 authored about 3 years ago
X[AUTO]CLAIM should skip deleted entries (#10227)

Fix #7021 #8924 #10198

# Intro
Before this commit X[AUTO]CLAIM used to transfer deleted entr...

3c3e6cc1c7e6248ea2ff886ba9809f1a65ae2c3b authored about 3 years ago
Handle key-spec flags with modules (#10237)

- add COMMAND GETKEYSANDFLAGS sub-command
- add RM_KeyAtPosWithFlags and GetCommandKeysWithFlag...

66be30f7fc2f7f6378eedc8d7b219db18addbc06 authored about 3 years ago
Fix protocol error caused by redis-benchmark (#10236)

The protocol error was caused by the buggy `writeHandler` in `redis-benchmark.c`,
which didn't ...

bb875603fb7ff3f9d19aad906bd45d7db98d9a39 authored about 3 years ago
Update function-delete.json - argument is library name, not function name (#10253)

9a0ab2fbbfe7824cc9d611689af3ae65797d3554 authored about 3 years ago
COMMAND DOCS avoid adding summary/since if they don't exist (#10252)

If summary or since is empty, we used to return NULL in
COMMAND DOCS. Currently all redis comma...

7f4cca11dce79506c16bbe189aa66da858babadb authored about 3 years ago
Fix redis-cli with sentinel crash due to SENTINEL DEBUG missing summary (#10250)

Fix redis-cli with sentinel crash due to SENTINEL DEBUG missing summary

Because SENTINEL DEBU...

b95beeb595c94649cfda4b2bd8049cf5ddb07868 authored about 3 years ago
acl check api for functions and eval (#10220)

Changes:
1. Adds the `redis.acl_check_cmd()` api to lua scripts. It can be used to check if the...

9dfeda58ed8425a75a0a81939e03fee8f422be3b authored about 3 years ago
create-cluster clean now will clean appendonlydir (#10223)

In #9788, now we stores all persistent append-only files in
a dedicated directory. The name of ...

c5e3d135ae640027d388a4d98bc16cf0b5dbf789 authored about 3 years ago
Supplement define guards to prevent multiple inclusion (#10246)

d6e9cde595de635b9f895a978b5c79e8996f66db authored about 3 years ago
add test suite infra to test RESP3 attributes (#10247)

So far we only tested attributes using readraw, not the
resp parser caches them, so that after ...

98b3f52599cc3106ddc882d0dcc744bcaf9e0264 authored about 3 years ago
Fix file descriptor leak in memtest_test_linux_anonymous_maps (#4241)

when we fail opening `/proc`, we need to close the log file fd.

91cc2059f5566ca7d22557df7fe47860d93d0009 authored about 3 years ago
Fix PSYNC crash with wrong offset (#10243)

`PSYNC replicationid str_offset` will crash the server.

The reason is in `masterTryPartialRes...

344e41c92228f3b8aade6220c48b7d8c6e7817a7 authored about 3 years ago
Add tests for ACL command error cases (#10183)

6ebb679f061b357b46e07898b4f72505ff5f3778 authored about 3 years ago
fix file permissions for scripts in utils folder (#10241)

make sure the scripts are executable

c42b1633321563da3143638e9d9f2fa470f11b2d authored about 3 years ago
redis-cli generates command help tables from the results of COMMAND (#10043)

This is a followup to #9656 and implements the following step mentioned in that PR:

* When po...

5b17909c4f69830e93a569b6e4994c9775657e35 authored about 3 years ago
Update FCALL/FCALL_RO summary and complexity (#10240)

1. Update fcall.json and fcall_ro.json
2. Update command.c
3. Update help.h

e662f6835e325e8a3e485828eacddc6bfdb91660 authored about 3 years ago
Command info module API (#10108)

Adds RM_SetCommandInfo, allowing modules to provide the following command info:

* summary
* ...

0a82fe844765e3c49d4807fcb8562342f88dffaf authored about 3 years ago
Fix SENTINEL SET config rewrite test (#10232)

Change the sentinel config file to a directory in SENTINEL SET test.
So it will now fail on the...

d7fcb3c5a16dce188728b0c2ab3a2a0df9bb5e2a authored about 3 years ago
Fix cluster tests failing due to subcommand names (#10231)

Introduced in #10128

d2fde2f6557a0c2f2963a0a0fb626510af62f545 authored about 3 years ago
Sentinel: return an error if configuration save fails (#10151)

When performing `SENTINEL SET`, Sentinel updates the local configuration file. Before this commi...

65ef543f8cc4d470f554f06e50594e85aad0d617 authored about 3 years ago
Add check min-slave-* feature when evaluating Lua scripts and Functions (#10160)

Add check enough good slaves for write command when evaluating scripts.
This check is made befo...

53c43fcc847d00d101c1e97563d7e3adc8b94143 authored about 3 years ago
Add 'Available since' to module API function docs (#10229)

The script which generates the markdown docs from module.c is updated to include
the version in...

f4ecc799c87fa504b375afc17a7f8302789254b5 authored about 3 years ago
Add test case to improve code coverage for Addslotsrange and Delslotsrange command (#10128)

add more test cases for addslotsrange and delslotsrange

c9e1602f9016c169e1e72ce305aab53cbc97c616 authored about 3 years ago
update function help message, changed DESC->DESCRIPTION. (#10228)

update function help message, changed DESC->DESCRIPTION (doc was outdated)

8eb19cc251ae7bfd5c2fda9d4515b9ddfc5e2476 authored about 3 years ago
Bump vmactions/freebsd-vm from 0.1.5 to 0.1.6 (#10219)

edc050cc5793e0c8f3814ad83d49bbd62686a809 authored about 3 years ago
Fix src/modules build issue on OS X 11 (#10224)

948285de39e0c19463a99e73c621298d30ec6a87 authored about 3 years ago
forbid module to unload when it holds ongoing timer (#10187)

This is done to avoid a crash when the timer fires after the module was unloaded.
Or memory lea...

6b5b3ca4148b058210f7c32096a6d1201a2121d9 authored about 3 years ago