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
Issue found by corrupt-dump-fuzzer test with ASAN.
The problem was that lpSkip and lpGetWithSiz...
TCL8.5 can't handle cases where part of the string is escaped and part of it isn't,
if there's ...
The `PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires` test is
a very time sensitive test, i...
Leak found by the corrupt-dump-fuzzer when using GCC ASAN, which seems
to falsely report leaks ...
specifically the ziplist and listpack unit tests and benchmarks run for too long with address sa...
a68b71ac02db64cd4b6fbb2cb5219ea43e19ea88 authored about 3 years ago
With dynamically growing argc (#9528), it is necessary to initialize
argv_len. Normally createC...
LCS can allocate immense amount of memory (sizes of two inputs multiplied by each other).
In th...
Background:
Following the upgrade to jemalloc 5.2, there was a test that used to be flaky and
...
362b3b02e66be40416f2c88cee4e40c65152ce87 authored about 3 years ago
Missing RedisModule_FreeCallReply
b567d3694c647455bfe9908696af10dcccb339cd authored about 3 years ago366d5101d3d3c268157860feca6696a64b77fe59 authored about 3 years ago
75d50e5de9f7d1f9293adab55261080bdea25bb0 authored about 3 years ago
Recently we started using list-compress-depth in tests (was completely untested till now).
Turn...
So that we can print server log on test failure.
020092e08fb1afe8712bd557f09e00a98fbc1cca authored about 3 years ago
Currently PING returns different status when server is not serving data,
for example when `LOAD...
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
Moves ZPOP ... 0 fast exit path after type check to reply with
WRONGTYPE. In the past it will r...
Unpause clients after manual failover ends instead of the timed offset
32215e788955acd7845d3839ba1f78e137ca0dfb authored about 3 years ago
Add --accurate to unit tests (new feature recently added)
Add --no-latency to valgrind run (was...
in `scan 0 match ""` case, pat is empty sds(patlen is 0), I don't think should access the
firs...
when aof rewrite is failed by fork(), It'll be indicated by aof_last_bgrewrite_status
INFO fiel...
Redis supports inserting data over 4GB into string (and recently for lists too, see #9357),
But...
This is a preparation step in order to add a new test in quicklist.c see #9776
e725d737fb2ee492fbcd04bb7deb1696d7e182d1 authored about 3 years agoThe 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
Two issues:
1. In many tests we simply forgot to close the connections we created, which doesn'...
I have seen this CI failure twice on MacOS:
*** [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-s...
174eedce44946ba58426ad45fc206977a564d1d2 authored over 3 years ago
Was impossible to run the daily CI from private forks due to "redis/redis" repo check.
Let's di...
- Added sanitizer support. `address`, `undefined` and `thread` sanitizers are available.
- To...
On test failure store the external redis server logs as CI artifacts so we can review them.
W...
cd6b3d558be0703b1a43f9fe58fd5f1ed7452829 authored over 3 years agoCo-authored-by: Vadim Pushtaev <[email protected]>
f069d09ee0e266064ab3b2d63390910accd47fbf authored over 3 years ago
First, avoid using --accurate on the freebsd CI, we only care about
systematic issues there due...
We saw some tests sporadically time out on valgrind (namely the ones
from #9323).
Increasing...
978eadbad42ae019b01d6efbd4afec718caec084 authored over 3 years ago
In both tests, "diskless loading short read" and "diskless loading short read with module",
the...
cd0f710be957191a98620535430c629ba30c7453 authored over 3 years ago
During diskless replication, the check for broken EOF mark is misplaced
and should be earlier. ...
There was a memory leak when tls is used in Sentinels.
The memory leak is noticed when some of ...
* Clean up EINTR handling so EINTR will not change connection state to begin with.
* On TLS, ca...
48d870aed1a5c392f3c1b59db48bc15f9f43b963 authored over 3 years ago
Optimized port detection for tcl, use 'socket -server' instead of 'socket' to rule out port on T...
a527c3e8148881c4a33b2c78ba1cb0889b4893fc authored over 3 years ago
This refactors all `CONFIG SET`s and conf file loading arguments go through
the generic config ...
ddb508c0a21d5859295fdabc6417a4b978e2dea8 authored over 3 years ago
For diskless replication in swapdb mode, considering we already spend replica memory
having a b...
Introduced in #8179, this fixes the command's replies in the 0 count edge case.
[BREAKING] chan...
When repl-diskless-load is enabled, the connection is set to the blocking state.
The connection...
there was a chance that by the time the assertion is executed,
the replica already manages to r...
Redis lists are stored in quicklist, which is currently a linked list of ziplists.
Ziplists are...
Add new no-mandatory-keys flag to support COMMAND GETKEYS of commands
which have no mandatory k...
When using SETNX and SETXX we could end up doing key lookup twice.
This presents a small ineffi...
The issue was that setting maxmemory to used_memory and expecting
eviction is insufficient, sin...
Co-authored-by: guoyiyuan <[email protected]>
78025c4a26a048ed7770060c8d90cfc81edf46e8 authored over 3 years ago
The External tests started failing recently for unclear reason:
```
*** [err]: Tracking invali...
the latency event was renamed in #7726, and the outcome was that the test was
ineffective (unab...
Since the loop in incrementalTrimReplicationBacklog checks the size of histlen,
we cannot affor...
After PR #9166 , replication backlog is not a real block of memory, just contains a
reference p...
So it looks like sampling set loglines [count_log_lines -2] was
executed too late, and the repl...
Test failed on freebsd:
```
*** [err]: Make the old master a replica of the new one and check ...
The module test in reply.tcl was introduced by #8521 but didn't run until recently (see #9639)
...
These definitions already exist in server.h.
155c29100663c15b26938663aed1405ad3b482cd authored over 3 years ago
Fix failures introduced by #9695 which was an attempt to solve failures introduced by #9679.
An...
This solves several problems in a more elegant way:
* No need to explicitly use `-lc` on x86_...
f26e90be0ccad273a8b7a71dfecaa4db43bfff29 authored over 3 years ago
The previous code did not check whether COUNT is set.
So we can use `lmpop 2 key1 key2 left cou...
Co-authored-by: lijinliang <[email protected]>
215b909c1fa7d8d2e49e40187380be1be70e1714 authored over 3 years ago734cde7e3885bf4ba8120ca0cc07354851bb4db0 authored over 3 years ago
Introduced in #9166
68886de085dfb83192b5bffc02700d02391c211c authored over 3 years agoWhen stopping an instance in the cluster tests, disable appendonly first, so that SIGTERM won't ...
22a778c8805ed4f5f3c19c0bfe9f5483de73614f authored over 3 years ago
We now use git subtree for deps/jemalloc, updating
jemalloc is detailed in deps/README.md
975f51fe16a29672ab1ae84b783cb196a0a9ab20 authored over 3 years ago
5fb4adba6521e4c3c23481bb0252d4ade845ffcf authored over 3 years ago
Fix timing issue of a new test introduced in #9326
37dc2f13b48ca95720384d948cfb1e0b4eec7c18 authored over 3 years ago43b22f17dc3eb77a255f140fa37765f306541b7a authored over 3 years ago
The first test exited before all the memory was reclaimed, so when the second test
sampled used...
I recently started seeing a lot of empty valgrind reports in the daily CI.
i.e. prints showing ...
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 for allowed_firstargs (used to be allowed_commands before #9504.
I don't think...
REDISMODULE_POSTPONED_ARRAY_LEN is deprecated, use REDISMODULE_POSTPONED_LEN instead
6cf6c36937ab276dba3f8a23fc16b2f10c0bc072 authored over 3 years agooverlooked in #9504
00362f2a941f83fa3b3675d4aeb63ecdb5fab709 authored over 3 years ago
Let modules use additional type of RESP3 response (unused by redis so far)
Also fix tests that ...
## Background
For redis master, one replica uses one copy of replication buffer, that is a big ...
I moved a bunch of stats in redisFork to be executed only on successful
fork, since they seem w...
Introduced via typo in #9504.
Also adds a sanity test for coverage.
5f89c1d4f767790e987ac508c26d632fc3c1c246 authored over 3 years ago
Before this commit, module blocked clients did not carry through the original RESP version, resu...
cf860df59921efcc74be410bdf165abd784df502 authored over 3 years ago8f745da1597efdb5f9275af91a63c08ba26abb61 authored over 3 years ago
8bf4c2e38c6531af8a8b5bbe3ce469d79a920d35 authored over 3 years ago
Following #9483 the daily CI exposed a few problems.
* The cluster creation code (uses redis-...
7d6744c739b25ae27a42f6fcf235e0d6bfbb3e61 authored over 3 years ago## Intro
The purpose is to allow having different flags/ACL categories for
subcommands (Exam...
Prevent clients from being blocked forever in cluster when they block with their own module comm...
4962c5526d98c0db769c15edeb81be1fa441ccb2 authored over 3 years ago
Since the size of mode_t is platform dependant we handle the
`unixsocketperm` configuration as ...
Make Cluster-bus port configurable with new cluster-port config
1c2b5f53188882ed78b83a5e4ec1697583530f0b authored over 3 years ago
The LRU of the key is not touched. Locically expired keys are
logically not existing, so they'r...
* add: add missed error counting in sentinel.c and cluster.c
aa6deff01e3851d2f5d8bd4241a72cf6b76c063d authored over 3 years agoTest started failing consistently in 32bit builds after upgrading to jemalloc 5.2.1 (#9623).
81095b1bd948908271194a5e2210dca16fdf1d42 authored over 3 years ago
Upgraded to jemalloc 5.2.1 from 5.1.0.
Cherry picked all relevant fixes (by diffing our 5.1.0 t...
in the past few days i've seen two failures in the valgrind daily test.
*** [err]: slave fail...
276b460ea9554f79109eb9a234a847a2520cf4c2 authored over 3 years ago
there is no need to compare the value of ep and sp
```
sp = start = s;
// the only wa...
[src/bitops.c:512] -> [src/bitops.c:507]: (warning) Either the condition 'if(o&&o->encoding==1)'...
94fded4f4f9c3d52d69969c4a2a9d82786a3ac16 authored over 3 years ago
This is useful for approximating size computation of complex module types.
Note that the mem_us...
the RedisModule_ReplyWithPush prototype was merged by mistake (no such API yet)
e7864a2b7022a3738a6829cf61a6c3dd5ba62c71 authored over 3 years ago
* Fix test modules linking on macOS 11.x.
* Use macOS 10.x for FreeBSD VM as VirtualBox is not ...
On MacOS calling fsync does not guarantee the cache on the disk itself is flushed.
3c9e5271c6762f25af12a0d039dc23a469258ffd authored over 3 years ago