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
1. MIGRATE has a potnetial key arg in argv[3]. It should be reflected in the command table.
2. ...
Normally we execute the read event first and then the write event.
When the barrier is set, we ...
This is considered a safer approach as it prevents a race condition that
could lead to chmod ex...
* Enhance dict to support arbitrary metadata carried in dictEntry
Co-authored-by: Viktor Söde...
f24c63a292e045d4b14b82b25981f00a95c1767a authored over 3 years agoFailed on Raspberry Pi 3b where that single test took about 170 seconds
1e7ad894d2ecb9ad73d68ff1f1102195582b1469 authored over 3 years agoWe implement incremental data sync in rio.c by call fsync, on slow disk, that may cost a lot of ...
9a0c0617f10ebb6cd5bf82f5f4f7049e7ff0a3ce authored over 3 years agoThis one follow #9313 and goes deeper (validation of config file parsing)
Move the check/upda...
aefbc23451ae8d0c7503f2c3cb014bfd5b07b4ed authored over 3 years ago1. The output of --help:
* On the Usage line, just write [OPTIONS] [COMMAND ARGS...] instea...
97dcf95cc8afd4847048ceaa21a081833728677b authored over 3 years ago
In multipe threads mode, every thread output throughput info. This
may cause some problems:
- ...
When `decr_step` is greater than `oldlimit`, the final `bestlimit` may be invalid.
For ex...
945a83d40661981f5098de0d89d8cbcd88883f15 authored over 3 years ago
This aims to solve the issue in CONFIG SET maxmemory can only set maxmemory to up
to 9223372036...
Also make sure function can't return NULL by another assert.
74590f8345c148024a9d55471409e772d9c8fa90 authored over 3 years ago
In old way, we always increase server.dirty in BITSET and BITFIELD SET.
Even the command doesn'...
8f59c1ecae3d9f7e8e83c16aa3459feadb09f320 authored over 3 years ago
492d8d09613cff88f15dcef98732392b8d509eb1 authored over 3 years ago
We only run OOM related tests on x86_64 and aarch64, as jemalloc on other
platforms (notably s3...
Following compilation warnings on s390x.
0e8d469f82a1971d99e40cb8352116687d98c843 authored over 3 years ago
On systems that have unsigned char by default (s390x, arm), redis-server
could crash as soon as...
If we want to check `defined(SYNC_FILE_RANGE_WAIT_BEFORE)`, we should include fcntl.h.
otherwis...
0cf2df84d4b27af4bffd2bf3543838f09e10f874 authored over 3 years ago
2402f5a7a1bd6f501cc630effc17801a0c44bf18 authored over 3 years ago
The order of setting things up follows some reasoning: Setup signal
handlers first because a si...
Making sure Redis builds properly on older compiler is important given the wide range of systems...
08c46f2b867ffc1f7f75c46a60287520236541e7 authored over 3 years ago5705cec68e2b93ace879cc1c8d05aca19bcfd188 authored over 3 years ago
Abort cli blocking modes with SIGINT without exiting the cli.
Co-authored-by: charsyam <chars...
82528d26785678b7ea7aeaff4c72aee58500e8d0 authored over 3 years ago19bc83716c522d1dc5b34a2667a025d1c73a6e85 authored over 3 years ago
We only use MADV_DONTNEED on Linux, that's were it was tested.
8ab33c18e4c34dbf2e894adca5b9e74fd4348587 authored over 3 years ago
Following the comments on #8659, this PR fix some formatting
and naming issues.
Part one of implementing #8702 (taking hashes first before other types)
## Description of the...
02fd76b97cbc5b8ad6f4c81c8538f02c76cbed46 authored over 3 years ago
This commit mainly fixes empty keys due to RDB loading and restore command,
which was omitted i...
AOF fake client creation (createAOFClient) was doing similar work as createClient,
with some mi...
Add a readonly variant of the STORE command, so it can be used on
read-only workloads (replica,...
Replication client no longer checks incoming command length against the client-query-buffer-limi...
e8eeba7bee6add5286afc4d59db074a924fb9209 authored over 3 years ago3307958bd0fe25d79f48f81f9c4712f920d4956a authored over 3 years ago
Fixes an undefined behavior, same way as our `ll2string` does.
e1dc979054846f96f77783673e421863700204be authored over 3 years ago
The test try to test `insert before 1 element`, but it use quicklist
InsertAfter, a copy-paste ...
add error counting for some missed behaviors.
43eb0ce3bf76a5d287b93a767bead9ad6230a1ad authored over 3 years ago
Also update qbuf tests to verify both idle and peak based resizing logic.
And delete unused fun...
The execution of the RPOPLPUSH command by the fuzzer created junk keys,
that were later being s...
Recently we found two issues in the fuzzer tester: #9302 #9285
After fixing them, more problems...
When we load rdb or restore command, if we encounter a length of 0, it will result in the creati...
8ea777a6a02cae22aeff95f054d810f30b7b69ad authored over 3 years agoAdd debug config flag to print certain config values on engine crash
39a4a44d7ddf7ca84f006d2332b6d049f05e5de4 authored over 3 years ago
The psync2 test has failed several times recently.
In #9159 we only solved half of the problem....
This makes it possible to tune many parameters that were previously hard coded.
We don't intend...
Fix that there is no sample latency after the key expires via expireIfNeeded().
Some refactorin...
d32f8641ed5cda76234f7405d2b65e167223a9f1 authored over 3 years ago
Reduce dict struct memory overhead
on 64bit dict size goes down from jemalloc's 96 byte bin to ...
1c59567a7fe207997eef6197eefa7d508d7fbf9f authored over 3 years ago
## Backgroud
As we know, after `fork`, one process will copy pages when writing data to these
...
Fix test introduced in #9202 that failed on 32bit CI.
The failure was due to a wrong double com...
## Current state
1. Lua has its own parser that handles parsing `reds.call` replies and transla...
Some background:
This fixes a problem that used to be dead code till now,
but became alive (on...
52df350fe59d73e6a1a4a5fb3c2b91d5c62f5a76 authored over 3 years ago
Add the -x option (Read last argument from STDIN) on redis-benchmark.
Other changes:
To be a...
Add SINTERCARD and ZINTERCARD commands that are similar to
ZINTER and SINTER but only return th...
Add new Module APS for RESP3 responses:
- RM_ReplyWithMap
- RM_ReplyWithSet
- RM_ReplyWithAtt...
Loading and unloading the shared object does not initialize global vars
on alpine.
When redis-cli received ASK, it used string matching wrong and didn't
handle it.
When we ac...
cf61ad14cc45787e57d9af3f28f41462ac0f2aa2 authored over 3 years ago
1. In sendBulkToSlave, we used LL_VERBOSE in the past, changed to
LL_WARNING. (all the other pl...
Add NX, XX, GT, and LT flags to EXPIRE, PEXPIRE, EXPIREAT, PEXAPIREAT.
- NX - only modify the T...
Fixes:
- When a consumer is created as a side effect, redis didn't issue a keyspace notificatio...
In _quicklistInsert when `at_head` / `at_tail` is true, but `prev` / `next` is NULL,
the code w...
8ea18fa8d2ea1c27d9f674e30f797dc0c7347ace authored over 3 years ago
With an empty src key, we need to deal with two situations:
1. non-STORE: We should return empt...
In some cases large replies on slow systems may only be partially read
by the test suite, resul...
Co-authored-by: Yossi Gottlieb <[email protected]>
1483f5aa9ba630307e3c9761c0d21a18bc607c80 authored over 3 years agoSigned-off-by: Long Dai <[email protected]>
89fdcbec8c446cfbf8befb54bf41e694c8290619 authored over 3 years ago
* Free unused capacity in the cluster send buffer.
* Refactor cluster cron to include a dedicat...
minor refactoring for rioConnRead and adding errno
a40381640502439f751f42c4b23d4c6d396993e3 authored over 3 years ago8bf433dc86937a72cbcfa02743a093c2e3d91960 authored over 3 years ago
The issue is that when a sentinel with the same address and IP is turned on with a different run...
db4153645458bbc23c0394a8974b734825a656e5 authored over 3 years agoThe `lru_clock` and `lru` bits in `robj` save the least significant 24 bits of the unixtime (sec...
b458b2999b749950c5ea9468cfa5ab74782848c3 authored over 3 years ago
this means the assertion that checks that when deep sanitization is enabled,
there are no crash...
Add two INFO metrics:
```
total_eviction_exceeded_time:69734
current_eviction_exceeded_time:1...
Co-authored-by: lizhaolong.lzl <[email protected]>
8d00493485ed4015c846b7cf694bfae03e133f0a authored over 3 years ago
This fixes an issue with zslGetRank which will happen only if the
skiplist data stracture is ad...
GETBIT, SETBIT may access wrong address because of wrap.
BITCOUNT and BITPOS may return wrapped...
- SELECT and WAIT don't read or write from the keyspace (unlike DEL, EXISTS, EXPIRE, DBSIZE, KEY...
32e61ee295beb8a45b66c4488937f17d0cd0fca7 authored over 3 years agoFix module info genModulesInfoStringRenderModulesList lack separator when there's more than one ...
1895e134a77efd789b1a6daee76a6ba5ec90e516 authored over 3 years agosrc/modules make failed. As in #3718 testmodule.c was removed. But the makefile was not updated
d54c9086c267d20bb6981f5a60f589e93b662d62 authored over 3 years ago
If there are more than 2B entries in a zset.
The calculated span will overflow.
This doesn't have any real impact, just a cleanup.
ee4bdf10eee1ebf988b6d00ec8bdb212948e364d authored over 3 years agofix spell checker CI after recently merged old PR
c9ca3b70652de196fec638f5357d92b5e6186d6d authored over 3 years ago8a73cd1f9a8fb788d49b5d2015bf1283098dc873 authored over 3 years ago
71c0466c044186246a8af0832bc778c7b807429e authored over 3 years ago
in case dest key already contains the member, the dest key isn't modified, so the command should...
11dc4e59b365d6cd8699604d7d1c1025b6bb6259 authored over 3 years agoSet TCP keepalive on inbound clusterbus connections to prevent memory leak
f03af47a34ec672a7d9b18150a5be3a83681c19b authored over 3 years ago334a9789f1108c0c78d5f57e0a4c13fa748a30b4 authored over 3 years ago
- promote the code in DEBUG PROTOCOL to addReplyBigNum
- DEBUG PROTOCOL ATTRIB skips the attrib...
277e4dc2032356c7712b539e89f7e9154e0a1a86 authored over 3 years ago
7ac42ab7b3cce3c656c30008dfd7162be5ac460a authored over 3 years ago
This would have resulted in missing newline in the help message
d0f36eeda013213919afe89bbc8a1d5bb3c94340 authored over 3 years ago
There are two issues fixed in this commit:
1. we want to fail the EXEC command in case there i...
In aof rewrite, when parent stop sending data to child, if there is
new rewrite data, aofChildW...
The if judgement `nextdiff == -4 && reqlen < 4` in __ziplistInsert.
It's strange, but it's usef...
This attempts to catch any non-standard configuration where the test may
fail and produce a fal...
350c6306b4d0ae80167ebcfb3c2f346bd4e58ee5 authored over 3 years ago
redis-check-aof/redis-check-rdb.
Related to #9176. Before this commit, redis-server starts as...
9a22457e8f07913200272238db069bfe58f91215 authored over 3 years ago
1. redis-cli can output --rdb data to stdout
but redis-cli also write some messages to stdou...
So that we can avoid commands that are obviously wrong.
Also unified with loadServerConfigFro...
3a26f61fb35ff9f96da8b7d0ba7d5f8c73e46da5 authored over 3 years ago