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

Return 0 when config set out-of-range oom-score-adj-values (#10601)

When oom-score-adj-values is out of range, setConfigOOMScoreAdjValuesOption
should return 0, no...

1a938046453e595cee9c4f559f099118210e0474 authored almost 3 years ago
Fix sdsConfigRewrite() to prevent freeing invalid memory(#10598)

85899e359ee7c4e615477b82b8b1d5c6f258d792 authored almost 3 years ago
Fix RM_Yield bug processing future commands of the current client. (#10573)

RM_Yield was missing a call to protectClient to prevent redis from
processing future commands o...

7d1ad6ca9663e3f771d1f27eec3ab67d0a1b6faf authored almost 3 years ago
Fix long long to double implicit conversion warning (#10595)

There is a implicit conversion warning in clang:
```
util.c:574:23: error: implicit conversion...

fe4b4806b3f39256a82020a1cd2e832ebabc2ef9 authored almost 3 years ago
Optimize integer zset scores in listpack (converting to string and back) (#10486)

When the score doesn't have fractional part, and can be stored as an integer,
we use the intege...

0c4733c8d7c50e0b0dc3373733fddfff3f62dda0 authored almost 3 years ago
Add RM_PublishMessageShard (#10543)

since PUBLISH and SPUBLISH use different dictionaries for channels and clients,
and we already ...

f49ff156ecd62aee104cff9f88fb62948575e6b0 authored almost 3 years ago
Added test to verify loading Lua binary payload is not possible (#10583)

The tests verify that loading a binary payload to the Lua interpreter raises an error.
The Lua ...

789c94feceb7cb0b618dcb912c0151625d913887 authored almost 3 years ago
Optimize the call of prepareReplicasToWrite (#10588)

From #9166, we call several times of prepareReplicasToWrite when propagating
one write command ...

a9d5cfa99bf2d9a88daad7add5afb9ff9287a0c5 authored almost 3 years ago
Add RM_MallocSizeString, RM_MallocSizeDict (#10542)

Add APIs to allow modules to compute the memory consumption of opaque objects owned by redis.
W...

fe1c096b1849b633f41f69f432c4236428035950 authored almost 3 years ago
Fix incorrect error code for eval scripts and fix test error checking (#10575)

By the convention of errors, there is supposed to be a space between the code and the name.
Whi...

effa707e9db3e9d00fff06d45e2a5a81d3d55fa9 authored almost 3 years ago
solve corrupt dump fuzzer crash in streams (#10579)

we had a panic in streamLastValidID when the stream metadata
said it's not empty, but the rax i...

95050f2683173e2bb8b05b297e44809cd09316c6 authored almost 3 years ago
Fix several document error and function comments (#10580)

This PR fix the following minor errors before Redis 7 release:

ZRANGEBYLEX command in depreca...

ca913a5de06bdcc323d0e109efbfa239496cc08d authored almost 3 years ago
Optimize stream id sds creation on XADD key * (~20% saved cpu cycles) (#10574)

we can observe that when adding to a stream without ID there is a duplicate work
on sds creatio...

a642947e04168b40aea6cec666927a9e653035e6 authored almost 3 years ago
Keyspace event for new keys (#10512)

Add an optional keyspace event when new keys are added to the db.

This is useful for applicat...

bb7891f080602fb92197a0f398be71eb7aba9e3c authored almost 3 years ago
Add the deprecated_since field in command args of COMMAND DOCS (#10545)

Apparently, some modules can afford deprecating command arguments
(something that was never don...

e875ff89ece5ec9d43273b19e3b88e4d36a48ba9 authored almost 3 years ago
Fix error/warning on Arm due to unsigned char. (#10572)

bd8da0ca29b161e5bd47a6a98ce0a7a232ccda90 authored almost 3 years ago
Bump actions/upload-artifact from 2 to 3 (#10566)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Rel...

6b403f56a523480a08b1143c676ce174d0d0251c authored almost 3 years ago
Allow specifying ACL reason for module log entry (#10559)

Allow specifying an ACL log reason, which is shown in the log. Right now it always shows "unknow...

8bd01a07ae75609a36335ab34b37da41da1b1bf2 authored almost 3 years ago
Extending the use of hashTypeGetValue. (#10567)

* Extending the use of hashTypeGetValue.

Functions hashTypeExists, hashTypeGetValueLength and...

4c6d9bbd626bb25cf7d154ea0b7d347172015cfb authored almost 3 years ago
Durability enhancement for appendfsync=always policy (#9678)

Durability of database is a big and old topic, in this regard Redis use AOF to
support it, and ...

1a7765cb7c39101e2af16fb92d6961bb4aaafbcc authored almost 3 years ago
modules: add RedisModuleKey* return type to RM_OpenKey (#3719)

Change `RM_OpenKey` to return `RedisModuleKey*` instead of `void*`.
Which is the input type of ...

574ed6b0ceb3a180e29f231a4ca047dec8dc39b9 authored almost 3 years ago
Add RM_TryAlloc (#10541)

Similarly to LCS, some modules would want to try to allocate memory, and
fail gracefully if the...

eeb0f1426c3a32c4278136bbbf24118c787f8714 authored almost 3 years ago
COMMAND DOCS shows module name, where applicable (#10544)

Add field to COMMAND DOCS response to denote the name of the module
that added that command.
C...

719db14ec78d9da1c8abe3577cb77019c4c61eb3 authored almost 3 years ago
fix indent space (#10562)

6cb5cbb28fea3f77f07e78effbbd0cf378c5b6bf authored almost 3 years ago
Fix an mistake in comment (#10560)

copy paste error..

Co-authored-by: Oran Agra <[email protected]>

dd3b545d89468d81b29e6a1e72de7a4a38da80d1 authored almost 3 years ago
improve malloc efficiency: reduce call times of zrealloc (#10533)

* improve malloc efficiency: reduce call times of zrealloc

Co-authored-by: Madelyn Olson <mad...

ee17e7af8da0c6e482bc24ad1e2197d94cba1e1f authored almost 3 years ago
Fix auto-aof-rewrite-percentage based AOFRW trigger after restart (#10550)

The `auto-aof-rewrite-percentage` config defines at what growth percentage
an automatic AOF rew...

625bdaf3d1faabff956b29699a560b459c9103d3 authored almost 3 years ago
Fix RM_Yield bug (#10548)

The bug was when using REDISMODULE_YIELD_FLAG_CLIENTS.
in that case we would have only set the ...

451531f1c89e34cc1aef0eb4bc1cdc78340f0bda authored almost 3 years ago
Fixes commands' syntices (#10534)

Fixes in command argument in json files
* Fixes BITFIELD's syntax ("sub-commands" can be repeat...

3e09a8c09770dfbe5c8a1c3d2ebc4599448ba7c4 authored almost 3 years ago
Fix the bug that caused hash encoding errors when using hincrbyfloat or hincrby commands (#10479)

Fixed a bug that used the `hincrbyfloat` or `hincrby` commands to make the field or value exceed...

f110de4b239d23b8436fdc742a557103c5852aad authored almost 3 years ago
use $^ instead of $< for linker in module makefile (#10530)

8a7049d36305d297a31ab14d7acab372a579f2ee authored almost 3 years ago
Stabilize Sentinel tests - refine failover-timeout & tilt-period (#10518)

Sentinel once in a while experience Sentinel TILT period or leader election
failure cycle. The...

e342bedc837e146c912546e92ded000a33a7d2ba authored almost 3 years ago
update static help.h from redis.io commands.json (#10529)

acfb4f7a448144ceb6c841a67613500bc2982a23 authored almost 3 years ago
Update json command files so they only include syntax related information (#10398)

The command json documents should just include information about the "arguments" and the "output...

4ffcec29af9dc1246540d94834540528576c68a4 authored almost 3 years ago
Functions: Move library meta data to be part of the library payload. (#10500)

## Move library meta data to be part of the library payload.

Following the discussion on http...

ae020e3d5665e46dbd2704b46b6ad207dd4471d9 authored almost 3 years ago
Cluster node name sanity check (#10391)

* Limit cluster node id length for CLUSTER commands loading
* Cluster node name sanity check fo...

2db0d898f8d9daef34a6b9678a905a51cc43c298 authored almost 3 years ago
delete obsolete REDISMODULE_EXPERIMENTAL_API define in module demos (#10527)

This macro was recently removed from redismodule.h, so no longer needed.

9578b67e0e535686b41d3de53d97f7b1a6f3cf48 authored almost 3 years ago
Remove outdated utils/hashtable/rehashing.c (#10526)

It is really outdated and i guessing no one will use it now.
Remove the corresponding utils/ha...

a95ae56b309c0fc649bda646b270f2497331d647 authored almost 3 years ago
Fix null pointer subtraction warning (#10498)

The warning:
```
pqsort.c:106:7: warning: performing pointer subtraction with a null pointer h...

cb625844bfe8fd8129a34bc2b7499e5735eb07ce authored almost 3 years ago
Fix mistake / outdated doc comment (#10521)

Unlike original reference code, Redis uses 64bit variable, so half the bits make it 32bit, not 16

8500ca4ae8f87fdae3be984146eb2eccd832e56f authored almost 3 years ago
Fix #10508, on error, pop function and error handler from Lua stack. (#10519)

If, for some reason, Redis decides not to execute the script, we need
to pop the function and e...

047b609335436db9a38ad10d5e51aa9161c7d3cf authored almost 3 years ago
fix typos in aof.c (#10513)

function aofRewriteLimited in aof.c, deley->delay and NAX->MAX

Co-authored-by: judeng <judeng...

6cdaa277036819440c013547a4a5c378efdb59ce authored almost 3 years ago
Fix sentinel ACL test. Timing issue. (#10510)

Fix by replacing in test blind sleep with wait_for_condition().

Co-authored-by: moticless <mo...

37beb5e67ed738065f2af7b6e3071c20b066caab authored almost 3 years ago
Turn into replica on SETSLOT (#10489)

* Fix race condition where node loses its last slot and turns into replica

When a node has lo...

b53c7f2c0bb8692fd30c59348190c2bd897958a0 authored almost 3 years ago
Fix failing moduleconfigs tests and memory leak (#10501)

Fix global `strval` not reset to NULL after being freed, causing a crash on alpine
(most likely...

b8eb2a73408fa3b8845760857dd6fcccb62107fe authored almost 3 years ago
Prevent replica failover during manual takeover test (#10499)

During 11-manual-takeover.tcl, if the killing of the instances happens
too slowly, one of the r...

e81bd15e992362062e2d60b614407667431cf248 authored almost 3 years ago
Fix cluster slot migration test (#10495)

Fix three timing issues in the test

a3075ca4fea92b672689c74dc63c3550cd626a26 authored almost 3 years ago
Use exit code 1 on error in redis-cli (#10468)

On error, redis-cli was returning `REDIS_ERR` on some cases by mistake. `REDIS_ERR` is `-1` whic...

7da1cc3e90e7c650790510961d46b7a3d11d14f8 authored almost 3 years ago
Move restart_killed_instances and verify_sentinel_auto_discovery to utils (#10497)

Create a utils.tcl in sentinel/tests/includes, and move two procs to it.
Allow sentinel test 08...

6075f5066334055dde1bd299d5f4954ad3de86ea authored almost 3 years ago
Bump actions/checkout from 2 to 3 (#10390)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](ht...

4e55d557ebb35bfd741491caafd5a246b4043062 authored almost 3 years ago
Bump actions/cache from 2 to 3 (#10463)

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://...

8df37363db40a72881ada4bfbb4abf2bfd600c38 authored almost 3 years ago
Module Configurations (#10285)

This feature adds the ability to add four different types (Bool, Numeric,
String, Enum) of conf...

bda9d74dad15fbc99a84a4f86c5a3cfc9252548f authored almost 3 years ago
command json files cleanups (#10473)

This PR do some command json files cleanups:

1. Add COMMAND TIPS to some commands
- command-...

e2fa6aa1589ef88322d16872bd6a94cdd21f353f authored almost 3 years ago
fix daily.yaml skip filters (#10490)

* missing parenthesis meant that the ubuntu and centos jobs were not
skipped
* the recently ...

16d206ee3600dba0b28535cc88f647afc80abbcc authored almost 3 years ago
redis-cli: Do DNS lookup before sending CLUSTER MEET (#10436)

Affects `--cluster create` and `--cluster add-node`.

35bb021254a2843aba093e6ffee3518fd9f3e7a7 authored almost 3 years ago
show cluster.links in MEMORY STATS (#10302)

001e19257557788213c503d54a4ef0c384bb3d71 authored almost 3 years ago
improve malloc efficiency for cluster slots_info_pairs (#10488)

This commit improve malloc efficiency of the slots_info_pairs mechanism in cluster.c
by changin...

3b1e65a32bbca42d05b4005b3d09bec39d62c72c authored almost 3 years ago
introduce MAX_D2STRING_CHARS instead of 128 const (#10487)

There are a few places that use a hard coded const of 128 to allocate a buffer for d2string.
Re...

14b198868fd8f8c7cbd319bec369fbc3fb24aff6 authored almost 3 years ago
Make redis-cli --cluster help output to stdout (#10485)

redis-cli --cluster help currently outputs the help on stderr.
This is similar to #9124

3f28d7d712329261d0c56df77eef37c88d610cf3 authored almost 3 years ago
Fix sentinel test SDOWN is triggered by non-responding instance (#10484)

A timing issue of debug sleep master isn't long enough to ensure
that master is down and let th...

63f77698cf3b48b8d3bc1cb18e35fd257bb30fe8 authored almost 3 years ago
fix crash in debug protocol push (#10483)

a missing of resp3 judgement which may lead to the crash using `debug protocol push`
introduced...

ae771ea77b1eb7b55444fd6189d9db77cb724990 authored almost 3 years ago
Fix new / failing cluster slot migration test (#10482)

#10381 fixed an issue in `redis-cli --cluster reshard` that used to fail it (redis-cli) because
...

0b21ef8d49c47a5dd47a0bcc0cf1b2c235f24fd0 authored almost 3 years ago
Fix Sentinel reconnect test following ACL change (#10480)

Replace condition with wait_for_condition On "Verify sentinel that restarted
failed to reconne...

37d761ba299909007ad27368b07f0d293e59398b authored almost 3 years ago
Cleanups in redis.conf (#10452)

Did some cleanups:
1. local local typo
2. replace the only slave word in the file
3. add FUNC...

f25e688e2acae8329ed97cab163fc4852e4dd5d2 authored almost 3 years ago
Add appendonlydir-* in utils/create-cluster/.gitignore (#10471)

3bcc67d14f5fcdfb1a44e216fe4aaef3533028f8 authored almost 3 years ago
optimize(remove) usage of client's pending_querybuf (#10413)

To remove `pending_querybuf`, the key point is reusing `querybuf`, it means master client's `que...

78bef6e1fe4b69e9cca6a922911bd88a92584edb authored almost 3 years ago
Split daily CI into smaller chunks (#10469)

this should aid find the CI issues with freebsd and macos runs, and also
get faster results fro...

1a57af629c4fa4e6bac35602a5373445ca42753b authored almost 3 years ago
crash log, print killer pid only when si_code is SI_USER (#10454)

Avoid printing "Killed by PID" when si_code != SI_USER.
Apparently SI_USER isn't always set to ...

6761d10cc34a904982f28ca146bef0747abf3e06 authored almost 3 years ago
Add new RM_Call flags for script mode, no writes, and error replies. (#10372)

The PR extends RM_Call with 3 new capabilities using new flags that
are given to RM_Call as par...

f3855a093049bccf530c93a6c386e826bd58e90e authored almost 3 years ago
Fix an off by one error in zzlStrtod (#10465)

When vlen = sizeof(buf), the statement buf[vlen] = '\0' accessing the buffer buf is an off by on...

08aed7e7dd1c338e5fb69a10b8ae09a0ec11e96a authored almost 3 years ago
config rewrite enhancement, in case of line longer than 1024 (#8009)

When rewrite the config file, we need read the old config file first,
but the CONFIG_MAX_LEN is...

79db037a4f7bf18962f4255de84d1767d63da1f5 authored almost 3 years ago
config rewrite failed save errno in case of being tainted (#10461)

errno would be potentially tainted during the serverLog() by the file io functions, such as fope...

93dda65354e502e8b8db07f85b668710dd0aac68 authored almost 3 years ago
Use exit code 1 if redis-cli fails to connect (#10438)

Use exit code 1 if redis-cli fails to connect.

Before https://github.com/redis/redis/pull/103...

4517fadb59f40f1244ce110b6c9963d5b811df18 authored almost 3 years ago
BITSET and BITFIELD SET should propagate even if just length changed (#10459)

Bug introduced in #9403, caused inconsistency between master and
replica in case just the lengt...

e82c1aedeaa7aee8c6290d6ceaafb347996eb671 authored almost 3 years ago
Increase function tests timeout (#10458)

Increase function tests timeout to avoid false failures on
slow systems.

2f9cdcd73323053b789b4a2284b40b047f8e047c authored almost 3 years ago
Fix timing issue in shards test and fix displayed TLS port (#10450)

557222d1e046ab4adc4ac86914c42d60bf028a4e authored almost 3 years ago
unblockClient: avoid to reset client when the client was shutdown-blocked (#10440)

fix #10439. see https://github.com/redis/redis/pull/9872
When executing SHUTDOWN we pause the c...

fae5b1a19d0972c2f4274004f15be3d2f90c856c authored almost 3 years ago
Restore ::singledb after cluster test (#10441)

When ::singledb is 0, we will use db 9 for the test db.
Since ::singledb is set to 1 in the clu...

b9656adbd9c6a670e5c89b19c7721057c7d89c24 authored almost 3 years ago
fix wrong comment about cluster_announce_hostname (#10274)

b69636d377cce0eb8c1fae3ac80240387e31d78f authored almost 3 years ago
Fixed incorrect parsing of hostname information from nodes.conf (#10435)

e8771efda9f88478f4cc42236373f6ce0e748986 authored almost 3 years ago
Fix redis-cli CLUSTER SETSLOT race conditions (#10381)

After migrating a slot, send CLUSTER SETSLOT NODE to the destination
node first to make sure th...

69017fa232093728a84dfcb1befe7bc4b204c182 authored almost 3 years ago
Fix module redact test for valgrind (#10432)

The new module redact test will fail with valgrind:
```
[err]: modules can redact arguments in...

61b7e5916dc9887f97e8c6f0c92af7509b29dbaf authored almost 3 years ago
Add new cluster shards command (#10293)

Implement a new cluster shards command, which provides a flexible and extensible API for topolog...

45ccae89bb998b402610f35ea7ca961a92c46303 authored almost 3 years ago
Add module API for redacting command arguments (#10425)

Add module API for redacting client commands

416c9ac2ef5b7adfdfd83e2b98ec25de23f37627 authored almost 3 years ago
Sentinel: update command json files (#10374)

c30de7073cca2bc106a261a5ddfc8be546ea0e3d authored almost 3 years ago
make sort/ro commands validate external keys access patterns (#10106) (#10340)

Currently the sort and sort_ro can access external keys via `GET` and `BY`
in order to make sur...

1078e30c5ff0e13e18192faada8efe3e97299db3 authored almost 3 years ago
Optimization: remove `updateClientMemUsage` from i/o threads. (#10401)

In a benchmark we noticed we spend a relatively long time updating the client
memory usage lead...

cf6dcb7bf1f65dd52d97e134223eb6661aa69f64 authored almost 3 years ago
Sentinel: fix reconnect test timing issue (#10424)

We need to wait for `sentinelTimer` to kick in, and then trigger the reconnect.

As for anothe...

871fa12fec41c4d8fc008dbfb8eaf714a9cc1bfc authored almost 3 years ago
improve string2ll() to avoid extra conversion for long integer string. (#10408)

For an integer string like "123456789012345678901" which could cause
overflow-failure in string...

38ed6c600791f266cea1ba66f53674c605b7babb authored almost 3 years ago
Cleanup: replicationFeedMonitors use the monitor list arg it got (#10417)

Better check the monitors list argument instead of server.monitors in the function,
although th...

dc7a9d3a3130e734e30076b3b0be70aa7f752272 authored almost 3 years ago
Sentinel: fix no reconnect after auth-pass is changed (#10400)

When updating SENTINEL with master’s new password (command:
`SENTINEL SET mymaster auth-pass so...

a6bf509810c4efda607cbe3cc86557449828e7f1 authored almost 3 years ago
Remove redundancy GETNAME in client help command message (#10418)

probably a copy paste error.

b576fbc474e199239a7032a90906304940470605 authored almost 3 years ago
Initialize help when using redis-cli help or redis-cli ? (#10382)

The following usage will output an empty newline:
```
> redis-cli help set
empty line
```

...

1797330e2eb05a2488eeb50024469d2b1f885f70 authored almost 3 years ago
ACL DRYRUN does not validate the verified command args. (#10405)

As a result we segfault when parsing and matching the command keys.

11b071a22bd1662166213e86f7bb7394a945ea00 authored almost 3 years ago
set "disable-thp" config immutable (#10409)

It's confusing for this config to be modifiable since it only takes effect on startup

a26cab9dd6a2baab656490e9a7a3ef858a27a8f3 authored almost 3 years ago
Fix outdated comments on updateSlavesWaitingBgsave (#10394)

* fix-replication-comments

The described capacity
`and to schedule a new BGSAVE if there ar...

4e012daee97f1d3a3ea8dcef338ce8ef26f2325b authored almost 3 years ago
Some adjustments to command hints. (#10375)

* stats and latency commands have non-deterministic output.
* the ones about latency should be ...

311a757cb14c3420c7547377d250ef0a66e781d6 authored almost 3 years ago
fix typos (#10402)

86ca9b25e22174ef6a5ce7b54b85b100bb4bc919 authored almost 3 years ago
Fix typo "the the" (#10399)

24da71e50740bc0dec2a78b18475665f11af6b95 authored almost 3 years ago
Use dismissMemory to dismiss COW of client output buffer (#10403)

c->buf is not sds, so we should use dismissMemory instead of dismissSds to dismiss it.
This is ...

adc5a3217c48dbe882b19d619eabd9b34f58496d authored almost 3 years ago