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

Fix invalid access in lpFind on corrupted listpack (#9819)

Issue found by corrupt-dump-fuzzer test with ASAN.
The problem was that lpSkip and lpGetWithSiz...

f07dedf73facfed5044efaf2a7a780581bf73ffa authored about 3 years ago
fix string escaping in corrupt-dump test to support TCL8.5 (#9824)

TCL8.5 can't handle cases where part of the string is escaped and part of it isn't,
if there's ...

f00a8ad93c8ebaef3c8e9856385cdd5587827c0b authored about 3 years ago
Fix timing issue in sub-second expires test (#9821)

The `PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires` test is
a very time sensitive test, i...

698b577413189483cd82d30932b10f6ec6187052 authored about 3 years ago
Fix false positive leak reported by GCC ASAN (#9816)

Leak found by the corrupt-dump-fuzzer when using GCC ASAN, which seems
to falsely report leaks ...

183b90a6254cbff960f912ba36896c09226d9dfe authored about 3 years ago
Don't use accurate option with ASAN unit tests (#9818)

specifically the ziplist and listpack unit tests and benchmarks run for too long with address sa...

a68b71ac02db64cd4b6fbb2cb5219ea43e19ea88 authored about 3 years ago
Fix occasional RM_Call() crashes. (#9805)

With dynamically growing argc (#9528), it is necessary to initialize
argv_len. Normally createC...

fd0ca74763f232336005b9bda889639a2bcd4a39 authored about 3 years ago
Prevent LCS from allocating temp memory over proto-max-bulk-len (#9817)

LCS can allocate immense amount of memory (sizes of two inputs multiplied by each other).
In th...

14176484697dc96df62c76630eef2b97a89bb8d0 authored about 3 years ago
Improve active defrag in jemalloc 5.2 (#9778)

Background:
Following the upgrade to jemalloc 5.2, there was a test that used to be flaky and
...

d4e7ffb38c51d002577719ba761604b8219f617d authored about 3 years ago
Initialize manual failover replica target (#9814)

362b3b02e66be40416f2c88cee4e40c65152ce87 authored about 3 years ago
fix memory leak in example module hellocluster (#9813)

Missing RedisModule_FreeCallReply

b567d3694c647455bfe9908696af10dcccb339cd authored about 3 years ago
Tests: add a few missing needs:debug tags. (#9806)

366d5101d3d3c268157860feca6696a64b77fe59 authored about 3 years ago
Fix module doc - missing function due to blank line (#9807)

75d50e5de9f7d1f9293adab55261080bdea25bb0 authored about 3 years ago
Fix crashes when list-compress-depth is used. (#9779)

Recently we started using list-compress-depth in tests (was completely untested till now).
Turn...

0c10f0e1c0815b9fc24a933e3dd4560f506e8313 authored about 3 years ago
Add --dump-logs to ci tests and daily tests (#9803)

So that we can print server log on test failure.

020092e08fb1afe8712bd557f09e00a98fbc1cca authored about 3 years ago
Reject PING with MASTERDOWN when replica-serve-stale-data=no (#9757)

Currently PING returns different status when server is not serving data,
for example when `LOAD...

1a255e315024d4536cddba9d7ca6d06699d17be3 authored about 3 years ago
Obliterate STRALGO! add LCS (which only works on keys) (#9799)

Drop the STRALGO command, now LCS is a command of its own and it only works on keys (not input s...

af7489886dab9362e4661a3015ac606025710686 authored about 3 years ago
Fixes ZPOPMIN/ZPOPMAX wrong replies when count is 0 with non-zset (#9711)

Moves ZPOP ... 0 fast exit path after type check to reply with
WRONGTYPE. In the past it will r...

91e77a0cfb5c7e4bc6473ae04353e48ad9e8697b authored about 3 years ago
Unpause clients earlier during manual cluster failover (#9676)

Unpause clients after manual failover ends instead of the timed offset

32215e788955acd7845d3839ba1f78e137ca0dfb authored about 3 years ago
Daily tests flags inconsistency (#9792)

Add --accurate to unit tests (new feature recently added)
Add --no-latency to valgrind run (was...

45144fc79fd72f4c54bf979f998dbf0896c92a94 authored about 3 years ago
optimze the judgment logic of use_pattern in scanGenericCommand() (#9789)

in `scan 0 match ""` case, pat is empty sds(patlen is 0), I don't think should access the
firs...

5f8ee3815c09595e8b6cd166fe8a3da18ff1d0fd authored about 3 years ago
set aof rewrite status err, when fork fail (#5606)

when aof rewrite is failed by fork(), It'll be indicated by aof_last_bgrewrite_status
INFO fiel...

992a610fe819c0bea381c5c717a218019362b40e authored about 3 years ago
Change lzf to handle values larger than UINT32_MAX (#9776)

Redis supports inserting data over 4GB into string (and recently for lists too, see #9357),
But...

985430b4fca5ac55b121a98ac0407909c6767530 authored about 3 years ago
Add --large-memory flag for REDIS_TEST to enable tests that consume more than 100mb (#9784)

This is a preparation step in order to add a new test in quicklist.c see #9776

e725d737fb2ee492fbcd04bb7deb1696d7e182d1 authored about 3 years ago
insufficient size for cached client flags in call() (#9783)

The client flags is a 64 bit integer, but the temporary cached value on the stack of call() is 3...

aba70df48f2ca8a567d2c11d34fb768bf764c487 authored about 3 years ago
Connection leak in external tests. (#9777)

Two issues:
1. In many tests we simply forgot to close the connections we created, which doesn'...

e968d9ac5846deac81e5f5288c23fef7a33d2dc2 authored about 3 years ago
Tune expire test threshold. (#9775)

I have seen this CI failure twice on MacOS:

*** [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-s...

174eedce44946ba58426ad45fc206977a564d1d2 authored over 3 years ago
Enable running daily CI from forks (#9771)

Was impossible to run the daily CI from private forks due to "redis/redis" repo check.
Let's di...

bcb7961f12691c874c982a0a44839d2ef32e13dc authored over 3 years ago
Add sanitizer support and clean up sanitizer findings (#9601)

- Added sanitizer support. `address`, `undefined` and `thread` sanitizers are available.
- To...

b91d8b289bb64965c5eaa445809f9f49293e99c0 authored over 3 years ago
Archive external redis log in external tests (#9765)

On test failure store the external redis server logs as CI artifacts so we can review them.

W...

cd6b3d558be0703b1a43f9fe58fd5f1ed7452829 authored over 3 years ago
Use utils/create-cluster from any dir (#9766)

Co-authored-by: Vadim Pushtaev <[email protected]>

f069d09ee0e266064ab3b2d63390910accd47fbf authored over 3 years ago
Try solving test timeout on freebsd CI (#9768)

First, avoid using --accurate on the freebsd CI, we only care about
systematic issues there due...

0927a0dd243c641d5657c35bfac9a439b2d6956e authored over 3 years ago
Increase test timeout in valgrind runs (#9767)

We saw some tests sporadically time out on valgrind (namely the ones
from #9323).

Increasing...

978eadbad42ae019b01d6efbd4afec718caec084 authored over 3 years ago
fix short timeout in replication short read tests (#9763)

In both tests, "diskless loading short read" and "diskless loading short read with module",
the...

03406fcb6cfb828e58d136aab748b60b938099ad authored over 3 years ago
fix minor memory leak in rewriteConfigSds (#9762)

cd0f710be957191a98620535430c629ba30c7453 authored over 3 years ago
Fix diskless load handling on broken EOF marker (#9752)

During diskless replication, the check for broken EOF mark is misplaced
and should be earlier. ...

c22d3684bad9bb20825a885ea41a2cc7b30b387c authored over 3 years ago
Sentinel tls memory leak (#9753)

There was a memory leak when tls is used in Sentinels.
The memory leak is noticed when some of ...

2ce29e032b6d474c4e819597e1fb690e29e735d6 authored over 3 years ago
Fix EINTR test failures. (#9751)

* Clean up EINTR handling so EINTR will not change connection state to begin with.
* On TLS, ca...

a1aba4bf754fc6c650d37447b689ac4dea6baebf authored over 3 years ago
Move config from clusterCron to config update (#9580)

48d870aed1a5c392f3c1b59db48bc15f9f43b963 authored over 3 years ago
Test suite - user server socket to optimize port detection (#9663)

Optimized port detection for tcl, use 'socket -server' instead of 'socket' to rule out port on T...

a527c3e8148881c4a33b2c78ba1cb0889b4893fc authored over 3 years ago
Refactor config.c for generic setter interface (#9644)

This refactors all `CONFIG SET`s and conf file loading arguments go through
the generic config ...

79ac57561f268814babe212c9216efe45cfdf937 authored over 3 years ago
Fixing import of sys/errno (#9739)

ddb508c0a21d5859295fdabc6417a4b978e2dea8 authored over 3 years ago
Replica keep serving data during repl-diskless-load=swapdb for better availability (#9323)

For diskless replication in swapdb mode, considering we already spend replica memory
having a b...

91d0c758e5453644bb4e784a2af86033ccb971fc authored over 3 years ago
Fixes LPOP/RPOP wrong replies when count is 0 (#9692)

Introduced in #8179, this fixes the command's replies in the 0 count edge case.
[BREAKING] chan...

06dd202a051a6788ebb2e13cd4603ffbf7e6dbd0 authored over 3 years ago
Retry when a blocked connection system call is interrupted by a signal (#9629)

When repl-diskless-load is enabled, the connection is set to the blocking state.
The connection...

ccf8a651f363f62c415e352bc4072e3756e0f197 authored over 3 years ago
Fix race condition in cluster test 22-replica-in-sync (#9721)

there was a chance that by the time the assertion is executed,
the replica already manages to r...

d04f306931f337e70a9cb270f0bbd1a202eedeb0 authored over 3 years ago
Add support for list type to store elements larger than 4GB (#9357)

Redis lists are stored in quicklist, which is currently a linked list of ziplists.
Ziplists are...

f27083a4a8a6682e391a533724c904c69852c0a0 authored over 3 years ago
Fix COMMAND GETKEYS on EVAL without keys (#9733)

Add new no-mandatory-keys flag to support COMMAND GETKEYS of commands
which have no mandatory k...

f11a2d4dd764c996b2d0c0cb5abde13f2445b40c authored over 3 years ago
fix: lookupKey on SETNX and SETXX only once (#9640)

When using SETNX and SETXX we could end up doing key lookup twice.
This presents a small ineffi...

77d3c6bff30331fb94a8570adc29872368e15ca2 authored over 3 years ago
Solve issues with tracking test in external mode (#9726)

The issue was that setting maxmemory to used_memory and expecting
eviction is insufficient, sin...

d25dc089325c7aafff84f2b2b6a263714a38e145 authored over 3 years ago
Add checks for overflow in redis-check-aof and loadAppendOnlyFile (#9669)

Co-authored-by: guoyiyuan <[email protected]>

78025c4a26a048ed7770060c8d90cfc81edf46e8 authored over 3 years ago
attempt to fix tracking test issue with external tests due to lazy free (#9722)

The External tests started failing recently for unclear reason:
```
*** [err]: Tracking invali...

87321deb3f5ae4319d20833eb91bde667fbd0b1c authored over 3 years ago
fix defrag test looking at the wrong latency metric (#9723)

the latency event was renamed in #7726, and the outcome was that the test was
ineffective (unab...

d5ca72e38b9d2f6689b310c9a98ba705daa312b4 authored over 3 years ago
Fix not updating backlog histlen when trimming repl backlog (#9713)

Since the loop in incrementalTrimReplicationBacklog checks the size of histlen,
we cannot affor...

526cbb5cff5fec072069f66d874cb6e983f7c539 authored over 3 years ago
rebuild replication backlog index when master restart (#9720)

After PR #9166 , replication backlog is not a real block of memory, just contains a
reference p...

d08f0552ee13fc9feaa7afbb2c493d1bf92ee6ac authored over 3 years ago
Fix timing issue in replication test (#9719)

So it looks like sampling set loglines [count_log_lines -2] was
executed too late, and the repl...

58a1d16ff6203467c6a41bf1e4e53173e4bc6d9c authored over 3 years ago
Fix race condition in psync2-pingoff test (#9712)

Test failed on freebsd:
```
*** [err]: Make the old master a replica of the new one and check ...

cea7809ceac68b58c6d538e9e1898e3421a26ade authored over 3 years ago
fix valgrind issues with long double module test (#9709)

The module test in reply.tcl was introduced by #8521 but didn't run until recently (see #9639)
...

f1f3cceb50ac97187f9dca37b041583a5f6ee6aa authored over 3 years ago
Remove duplicate SET_OP_XX definitions in t_set.c. (#4326)

These definitions already exist in server.h.

155c29100663c15b26938663aed1405ad3b482cd authored over 3 years ago
Fix failing cluster tests (#9707)

Fix failures introduced by #9695 which was an attempt to solve failures introduced by #9679.
An...

48d54265ce16cff0764b0aad7b56e091401b3d4b authored over 3 years ago
Use 'gcc' instead of 'ld' to link test modules. (#9710)

This solves several problems in a more elegant way:

* No need to explicitly use `-lc` on x86_...

f26e90be0ccad273a8b7a71dfecaa4db43bfff29 authored over 3 years ago
Fix multiple COUNT in LMPOP/BLMPOP/ZMPOP/BZMPOP (#9701)

The previous code did not check whether COUNT is set.
So we can use `lmpop 2 key1 key2 left cou...

033578839be929a5b550e4991c6c6d26e44af3ad authored over 3 years ago
fix typo in db.c: synchroneus -> synchronous(2 places) (#9702)

Co-authored-by: lijinliang <[email protected]>

215b909c1fa7d8d2e49e40187380be1be70e1714 authored over 3 years ago
Fix memory leak when there's a read error of module aux data from rdb. (#9705)

734cde7e3885bf4ba8120ca0cc07354851bb4db0 authored over 3 years ago
Fix timing issue in replication buffer test (#9697)

Introduced in #9166

68886de085dfb83192b5bffc02700d02391c211c authored over 3 years ago
fix failing cluster tests (#9695)

When stopping an instance in the cluster tests, disable appendonly first, so that SIGTERM won't ...

22a778c8805ed4f5f3c19c0bfe9f5483de73614f authored over 3 years ago
Remove update-jemalloc.sh, it's not needed anymore (#9690)

We now use git subtree for deps/jemalloc, updating
jemalloc is detailed in deps/README.md

b7afac6bc24548799b945d2d8e3d8b72904272d8 authored over 3 years ago
Add new SLOTSRANGE to subcommands table (#9689)

975f51fe16a29672ab1ae84b783cb196a0a9ab20 authored over 3 years ago
New Cluster Command: CLUSTER DELSLOTSRANGE and CLUSTER ADDSLOTSRANGE (#9445)

5fb4adba6521e4c3c23481bb0252d4ade845ffcf authored over 3 years ago
Fix not waiting for data loading to complete in AOF tests (#9683)

Fix timing issue of a new test introduced in #9326

37dc2f13b48ca95720384d948cfb1e0b4eec7c18 authored over 3 years ago
Sentinel: don't log auth-pass value for better security (#9652)

43b22f17dc3eb77a255f140fa37765f306541b7a authored over 3 years ago
Fix race condition in lazy free test (#9682)

The first test exited before all the memory was reclaimed, so when the second test
sampled used...

37559ca79fe621385f4ebc5f692e13677f93fb93 authored over 3 years ago
Testsuite: attempt to find / avoid valgrind warnings of killed processes (#9679)

I recently started seeing a lot of empty valgrind reports in the daily CI.
i.e. prints showing ...

665e4284356dad675baefd4aa3246094def3abc6 authored over 3 years ago
Add timestamp annotations in AOF (#9326)

Add timestamp annotation in AOF, one part of #9325.

Enabled with the new `aof-timestamp-enabl...

9ec3294b97211fca206ade1c2d99ccfc762f5a73 authored over 3 years ago
Improve code doc of allowed_firstargs following #9504 (#9674)

Improve code doc for allowed_firstargs (used to be allowed_commands before #9504.
I don't think...

085615af97c658530153e0040b35d8e65a384379 authored over 3 years ago
Replace deprecated REDISMODULE_POSTPONED_ARRAY_LEN in module tests and examples (#9677)

REDISMODULE_POSTPONED_ARRAY_LEN is deprecated, use REDISMODULE_POSTPONED_LEN instead

6cf6c36937ab276dba3f8a23fc16b2f10c0bc072 authored over 3 years ago
Removes admin acl category from CLIENT TRACKINGINFO (#9662)

overlooked in #9504

00362f2a941f83fa3b3675d4aeb63ecdb5fab709 authored over 3 years ago
Add RM_ReplyWithBigNumber module API (#9639)

Let modules use additional type of RESP3 response (unused by redis so far)
Also fix tests that ...

12ce2c3925ee8fa6cfe0f5091eba21968b95c0c9 authored over 3 years ago
Replication backlog and replicas use one global shared replication buffer (#9166)

## Background
For redis master, one replica uses one copy of replication buffer, that is a big ...

c1718f9d862267bc44b2a326cdc8cb1ca5b81a39 authored over 3 years ago
Improve errno reporting on fork and fopen rdbLoad failures (#9649)

I moved a bunch of stats in redisFork to be executed only on successful
fork, since they seem w...

6b297cd64627a383ccb8d2d5a2ad736118a014ed authored over 3 years ago
Fixes `CLUSTER COUNTKEYSINSLOT` (#9672)

Introduced via typo in #9504.
Also adds a sanity test for coverage.

48e4d7709961f7e1ca94dea86ff3b57c4b9710ec authored over 3 years ago
Handle cross-compiling when configuring jemalloc. (#9659)

5f89c1d4f767790e987ac508c26d632fc3c1c246 authored over 3 years ago
Fix module blocked clients RESP version (#9634)

Before this commit, module blocked clients did not carry through the original RESP version, resu...

cf860df59921efcc74be410bdf165abd784df502 authored over 3 years ago
Fix sentinel commands, ACL dictIter leak (#9661)

8f745da1597efdb5f9275af91a63c08ba26abb61 authored over 3 years ago
Fix test modules build issue on OS X 11. (#9658)

8bf4c2e38c6531af8a8b5bbe3ce469d79a920d35 authored over 3 years ago
fix new cluster tests issues (#9657)

Following #9483 the daily CI exposed a few problems.

* The cluster creation code (uses redis-...

7d6744c739b25ae27a42f6fcf235e0d6bfbb3e61 authored over 3 years ago
Treat subcommands as commands (#9504)

## Intro

The purpose is to allow having different flags/ACL categories for
subcommands (Exam...

43e736f79b7663f6095377506a24f47718056cb7 authored over 3 years ago
Release clients blocked on module commands in cluster resharding and down state (#9483)

Prevent clients from being blocked forever in cluster when they block with their own module comm...

4962c5526d98c0db769c15edeb81be1fa441ccb2 authored over 3 years ago
Move config `unixsocketperm` to generic configs (#9607)

Since the size of mode_t is platform dependant we handle the
`unixsocketperm` configuration as ...

c9fabc2ef0737f3b877e18b968b502d895bb2503 authored over 3 years ago
Make Cluster-bus port configurable with new cluster-port config (#9389)

Make Cluster-bus port configurable with new cluster-port config

1c2b5f53188882ed78b83a5e4ec1697583530f0b authored over 3 years ago
Add RedisModule_KeyExists (#9600)

The LRU of the key is not touched. Locically expired keys are
logically not existing, so they'r...

b7f2a1a217b5c5b7b0320bfe0511dfdf2e0eb174 authored over 3 years ago
add missed error counting (#9646)

* add: add missed error counting in sentinel.c and cluster.c

aa6deff01e3851d2f5d8bd4241a72cf6b76c063d authored over 3 years ago
Skip Active-defrag edge case test until we fix it. (#9645)

Test started failing consistently in 32bit builds after upgrading to jemalloc 5.2.1 (#9623).

81095b1bd948908271194a5e2210dca16fdf1d42 authored over 3 years ago
Merge pull request #9623 from yoav-steinberg/upgrade_jemalloc_5.2.1

Upgraded to jemalloc 5.2.1 from 5.1.0.
Cherry picked all relevant fixes (by diffing our 5.1.0 t...

c4b4b6c06b0562740d214d0df467b2ba40396ffc authored over 3 years ago
Attempt to fix a valgrind test failure due to timing (#9643)

in the past few days i've seen two failures in the valgrind daily test.

*** [err]: slave fail...

276b460ea9554f79109eb9a234a847a2520cf4c2 authored over 3 years ago
sdstrim remove excessive check (#4045)

there is no need to compare the value of ep and sp
```
sp = start = s;
// the only wa...

afd8c4e0073a55a47e55a36c9fcca332cf182228 authored over 3 years ago
Code cleanup, resolve an issue identified by cppcheck (#4373)

[src/bitops.c:512] -> [src/bitops.c:507]: (warning) Either the condition 'if(o&&o->encoding==1)'...

94fded4f4f9c3d52d69969c4a2a9d82786a3ac16 authored over 3 years ago
Modify mem_usage2 module callback to enable to take sample_size argument (#9612)

This is useful for approximating size computation of complex module types.
Note that the mem_us...

61bb04415614f4b99002cc6c6a31ef5019881b07 authored over 3 years ago
fix typos in module doc / header (#9641)

the RedisModule_ReplyWithPush prototype was merged by mistake (no such API yet)

e7864a2b7022a3738a6829cf61a6c3dd5ba62c71 authored over 3 years ago
Fix daily failures due to macos-latest change. (#9637)

* Fix test modules linking on macOS 11.x.
* Use macOS 10.x for FreeBSD VM as VirtualBox is not ...

6d5a9117073508ca2bdd71a3932a1badcaab0418 authored over 3 years ago
Use fcntl(fd,F_FULLFSYNC) instead of fsync on OSX, improve power failure safety (#9545)

On MacOS calling fsync does not guarantee the cache on the disk itself is flushed.

3c9e5271c6762f25af12a0d039dc23a469258ffd authored over 3 years ago