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
touch keys only if the key is in one of the dbs,
in case rewind the list when the key doesn't e...
Currently a replica is able to recover from a short read (when diskless loading
is enabled) and...
f8da33ae598db1a058f611b599805423c155b7c8 authored over 3 years ago
67732bacb1bcf5e47d8796feecc0c88c12da8e5e authored over 3 years ago
due to a copy-paste bug, it used to reply with null response rather than empty array.
this comm...
This reduces system calls on linux when a new connection is made / accepted.
Changes:
* Add ...
when tracking the peak, don't reset the peak to 0, reset it to the
maximum of the current used, ...
1. querybuf_peak has not been updated correctly in readQueryFromClient.
2. qbuf shrinking uses s...
minor cleanups.
9894ce5fc40651714f17bdbce45f8597ca7194ff authored over 3 years ago
This makes it possible to distinguish between null response and an empty
array (currently the t...
fixes test issue introduced in #9167
1. invalid reads due to accessing non-retained string (p...
a8518cce951629eaccde40fd0e51b36a5dc6321c authored over 3 years agoUpdate incrDecrCommand to use addReplyLongLong
8f59f131e5c26680d21e825695ef24a4fd7b99b7 authored over 3 years ago
Modules that use background threads with thread safe contexts are likely
to use RM_BlockClient(...
For the sdscatfmt function in sds.c, when the parameter fmt ended up with '%',
the behavior is ...
Before this commit, redis-server starts in sentinel mode if the first startup
argument has the ...
This seems to be an unimportant bug that was accidentally generated. If the user does not specif...
6476c8e856f790bef24eacd62c10c2df54e33f14 authored over 3 years agoA change in redis 6.2 caused redis-cli --rdb that's directed to stdout to fail because fsync fai...
74fe15b3602ed7c003b5c53e45e31f7aa6d4a86f authored over 3 years agoAdds call to intrev16ifbe to ensure ZIPLIST_LENGTH is compared correctly
eaa52719a355c4467d0383c1c9f5184c9c14fe5a authored over 3 years agoIf user executes redis-cli --help, the content should be output to stdout and exits with 0.
70dac4b4367485e0eddc1ae84b708cd14c18d626 authored over 3 years ago
* Add keyname tags to avoid CROSSSLOT errors in external server CI
* Use new wait_for_blocked_c...
1. Add one key-value pair to myhash, which the length of key and value both less than hash-max-z...
4278c45c913ccd615a7fd13c8463de79b699c4e1 authored over 3 years ago*** [err]: PSYNC2: total sum of full synchronizations is exactly 4 intests/integration/psync2.tc...
1d5aa37d681ce3d841bdb631953956fe567993e4 authored over 3 years ago
In the original version, the operation of traversing the stack only seems to
reconstruct the ke...
5d8ea4b3264125ee86b82f91431f47574bd58bda authored over 3 years ago
mistakenly it used to return an empty array rather than 0.
Co-authored-by: Oran Agra <oran@re...
95274f1f8a3ef4cb4033beecfaa99ea1439ed170 authored over 3 years agoCo-authored-by: yoav-steinberg <[email protected]>
7913d34d7c5fb9fdc35afc4de57311cad84522e0 authored over 3 years agoAffects MEMORY USAGE
4434cebbb38ae2ef39b2d74ed3e6cd8d1a061d0c authored over 3 years ago
Return a bad score when used with negative count (or count of 1), and non-ziplist encoded zset.
...
in the past, the reply list was a list of sds objects, so this didn't have any overhead,
but no...
1071430875f9a7814b2b0a198c3315e4c7c08be1 authored over 3 years ago
b71c5849e3e5c040b029c6e25cec2069d70760c1 authored over 3 years ago
In the past, the first bind address that was explicitly specified was
also used to bind outgoin...
some leftovers from print are visible when the new line is printed.
d1a21e02926b9c4cb850c076a445644562800bf1 authored over 3 years ago
The call to raxNext didn't really progress in the rax, since we were already on the last item.
...
The freebsd and macos jobs were still broken.
also add a few more skip jobs options.
5ffdbae1f64bb66b6e2470779540fb1051dcbff1 authored over 3 years ago
eb09fbce1ea5f65e3734af69a177110bbd639e78 authored over 3 years ago
The daily CI was broken by #9119 seems that for cron scheduled tasks, these ifs aren't evaluated...
0676a9fc6b99c7d3d7a04255d30f19bbbcf7638f authored over 3 years agoHopefully now we'll be able to manually trigger extensive tests to PR branches without modifying...
b466471a52a0659bbabf820aae9089dc12774a2c authored over 3 years ago
- Introduce a new sdssubstr api as a building block for sdsrange.
The API of sdsrange is many...
a49b766860fa5c942d2fe6b21e545afb5cdda70c authored over 3 years ago
8284544adb21d8d31a5fe75e0e194be1e863ed85 authored over 3 years ago
* Specifying an empty `bind ""` configuration prevents Redis from listening on any TCP port. Bef...
07b0d144cee7e3ef0ed34fbf046c418d66099cea authored over 3 years ago
Previously, passing 0 for newlen would not truncate the string at all.
This adds handling of th...
# replication-3.tcl
had a test timeout failure with valgrind on daily CI:
```
*** [err]: SLAV...
Remove extra semicolon.
bf92000e2dc33d484c73eaaa0af5cc47acf81b82 authored over 3 years agoSentinel shows tilt mode boolean in info, now it'll show an indication of how long ago it started.
81d5f05b6e25f32476a1de3f264d45d386310ef0 authored over 3 years ago
The `Tracking gets notification of expired keys` test in tracking.tcl
used to hung in valgrind ...
f004073b54ee0b09afcb3789a8d835fd6018e99e authored over 3 years ago
Fixes #6792. Added support of REDIS_REPLY_SET in raw and csv output of `./redis-cli`
Test:
...
96bb078577ce2b0d093c873faae5d3ecca26a1de authored over 3 years ago1fabb89a41faf4666f9bda0737d9fde022fb14b1 authored over 3 years ago
Open the log file only after parsing the entire config file, so that it's
location isn't depend...
cleanups:
1: Re-introduce debug leak subcommand in help text.
Mistankenly deleted in https://g...
So that we can easily see the lines of the config.
Also unified with other error handling.
6248127c43aee7d2a482076c4653cfb5461f0b16 authored over 3 years ago
Due to the change in #9003, a long-standing bug was raised under `valgrind`.
This bug can cause...
* Add missing call for RedisModule_DictDel in datatype2 test
* Fix memory leak in datatype2 test
This commit improve MEMORY USAGE command to include internal fragmentation overheads of:
1. EMB...
Fix test failure which introduced by #9003.
The following case will occur when querybuf expansi...
This will allow distros to use an "include conf.d/*.conf" statement in the default configuration...
c2b93ff83fa509e1001991ec09ace856949bec40 authored over 3 years ago
Gopher support was added mainly because it was simple (trivial to add).
But apparently even som...
Create new module type enhanced callbacks: mem_usage2, free_effort2, unlink2, copy2.
These will...
When using RESP3, ZPOPMAX/ZPOPMIN should return nested arrays for consistency
with other comman...
* Cleaning up the cluster interface by moving almost all related declarations into cluster.h
(n...
The initialize memory of `querybuf` is `PROTO_IOBUF_LEN(1024*16) * 2` (due to sdsMakeRoomFor bei...
e5d8a5eb85b50ee7da1bf652c7d67e8e5b757ec9 authored over 3 years ago
Do not queue command in an already aborted MULTI state.
We can detect an error (watched key).
...
678e67b58e0747ca0c3b655bffbb49aef1c7d8e8 authored over 3 years ago
Small cleanup and consistency.
b1099773018510fed346be3f774852b65fa87a59 authored over 3 years ago
Fix crash when using io-threads-do-reads and issuing CLIENT PAUSE and
CLIENT UNPAUSE.
This iss...
This was already the case before this commit, but it wasn't clear / intended in the code, now it...
7900b48bc73bac45dce50ca43872e1af1412f5d5 authored over 3 years agoCo-authored-by: lizhaolong.lzl <[email protected]>
dee378d76dbe133a0d561a36931e78f1570217c5 authored over 3 years agoCo-authored-by: lizhaolong.lzl <[email protected]>
688cdb05b401386c317bc7288c6b8290819ef6b5 authored over 3 years ago
Today when we load the AOF on startup, the loadAppendOnlyFile checks if
the file is openning fo...
2727a2cec05365b8229af2ecdcb6583132873d1b authored over 3 years ago
SINTERSTORE would have deleted the dest key right away,
even when later on it is bound to fail ...
Minor code cleanup.
5517f3624d900882eee39b06c494223087326417 authored over 3 years ago
The root cause is that one test (`5 keys in, 5 keys out`) is leaking a volatile key
that can ex...
63da66bb63ddd77bf448bd8f9b3e4790172a3f26 authored over 3 years ago
This PR adds a spell checker CI action that will fail future PRs if they introduce typos and spe...
0bfccc55e2df349104b34608365dc17db8e0a749 authored over 3 years ago
This commit revives the improves the ability to run the test suite against
external servers, in...
When we allocate a client struct with 16k reply buffer, the allocator we may give us 20K,
This ...
It could be useful for debugging to know which client got disconnected.
119121c739ea3d3d7473945d13579191fc44d226 authored over 3 years ago
sometimes you can be very deep in the call stack, without access to argv.
once you're there you...
redis-cli is grep friendly for all commands but SUBSCRIBE/PSUBSCRIBE.
it is unable to process o...
* clusterManagerAddSlots check argv_idx error.
* clusterManagerLoadInfoFromNode remove unused...
1df8c129bc5a8ffaac28410dc1c39b4241c6078c authored over 3 years ago
Till now GET and NX were mutually exclusive.
This change make their combination mean a "Get or ...
The decision to stop trimming due to LIMIT in XADD and XTRIM was after the limit was reached.
i...
b438bc5a0bd0ec98681151a32a05845ffc917871 authored over 3 years ago
Co-authored-by: lizhaolong.lzl <[email protected]>
a972503f57005251bf5d05417f6a655a88ce35f1 authored over 3 years ago
running the "geo" unit would have shown that it completed a unit named
"north". this was becaus...
xtrimCommand call streamParseAddOrTrimArgsOrReply should use xadd==0.
When the syntax is vali...
91f3689bf5dc4ce3cf00d9d957b9677b362a205e authored over 3 years ago
Also the bug that currently does not cause memory leaks.
Because op->type = OBJ_ZSET, in zuiCle...
156599ba2db1706cd5ce10f1c335f36c3ccb94ea authored over 3 years ago
b512dfe7943aa5c3f983914018cc6a61a9442699 authored over 3 years ago
3fbdbf5084992b8499a7c857399982044b418675 authored over 3 years ago
In clusterManagerCommandImport strcat was used to concat COPY and
REPLACE, the space maybe not ...
f63bb9583d59985bd53f370e91924b26281207d7 authored over 3 years ago
2ff53060d286b6a40d500316a3bbb8585020d99f authored over 3 years ago
babe3c7b29b7a7757d07439ac0a3c9185090cd23 authored over 3 years ago
09e435c8d4d37d04ab13caa9344c0d3cc2889ba4 authored over 3 years ago