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

a little optimization in touchAllWatchedKeysInDb (#9200)

touch keys only if the key is in one of the dbs,
in case rewind the list when the key doesn't e...

5ea3c3db15ad2b67ae3c027ba8f10f3ea19d18f9 authored over 3 years ago
Avoid exiting to allow diskless loading to recover from RDB short read on module AUX data (#9199)

Currently a replica is able to recover from a short read (when diskless loading
is enabled) and...

f06d782f5abcb30efb0117841232828ed3e129bf authored over 3 years ago
update issue template, replace IRC with discussions (#9198)

f8da33ae598db1a058f611b599805423c155b7c8 authored over 3 years ago
redis-cli: reset dbnum and tx prompt state after RESET (#9096)

67732bacb1bcf5e47d8796feecc0c88c12da8e5e authored over 3 years ago
hrandfield and zrandmember with count should return emptyarray when key does not exist. (#9178)

due to a copy-paste bug, it used to reply with null response rather than empty array.
this comm...

a418a2d3fc0250c094802d7e8ea64d96eedfda07 authored over 3 years ago
Use accept4 on linux instead of fcntl to make a client socket non-blocking (#9177)

This reduces system calls on linux when a new connection is made / accepted.

Changes:
* Add ...

5a3de81925130792f78c35e9e4d0204213a3a41e authored over 3 years ago
Query buffer shrinking improvements (#5013)

when tracking the peak, don't reset the peak to 0, reset it to the
maximum of the current used, ...

ec582cc7ad0706e252bc905822226e49f4c4d0e4 authored over 3 years ago
resize query buffer more accurately

1. querybuf_peak has not been updated correctly in readQueryFromClient.
2. qbuf shrinking uses s...

2248eaacac991a851c55dbb33bc328b7d6f780a8 authored over 3 years ago
add missing skips to daily cycle (#9196)

minor cleanups.

9894ce5fc40651714f17bdbce45f8597ca7194ff authored over 3 years ago
Tests: add a way to read raw RESP protocol reponses (#9193)

This makes it possible to distinguish between null response and an empty
array (currently the t...

7103367ad44b4241e59a709771cb464aa2a86b20 authored over 3 years ago
fix valgrind issues with recently added test in modules/blockonbackground (#9192)

fixes test issue introduced in #9167

1. invalid reads due to accessing non-retained string (p...

a8518cce951629eaccde40fd0e51b36a5dc6321c authored over 3 years ago
Update incrDecrCommand to use addReplyLongLong (#9188)

Update incrDecrCommand to use addReplyLongLong

8f59f131e5c26680d21e825695ef24a4fd7b99b7 authored over 3 years ago
Fix CLIENT UNBLOCK crashing modules. (#9167)

Modules that use background threads with thread safe contexts are likely
to use RM_BlockClient(...

aa139e2f02292d668370afde8c91575363c2d611 authored over 3 years ago
Fix bug in sdscatfmt when % is the last format char (#9173)

For the sdscatfmt function in sds.c, when the parameter fmt ended up with '%',
the behavior is ...

de9bae21efa2e14d71bdedb3326abacbb310135c authored over 3 years ago
Don't start in sentinel mode if only the folder name contains redis-sentinel (#9176)

Before this commit, redis-server starts in sentinel mode if the first startup
argument has the ...

16e04ed9442ed31ab2ec01035047e8118c7511a5 authored over 3 years ago
Fix range issues in default value of LIMIT argument to XADD and XTRIM (#9147)

This seems to be an unimportant bug that was accidentally generated. If the user does not specif...

6476c8e856f790bef24eacd62c10c2df54e33f14 authored over 3 years ago
redis-cli --rdb: fix broken fsync/ftruncate for stdout (#9135)

A change in redis 6.2 caused redis-cli --rdb that's directed to stdout to fail because fsync fai...

74fe15b3602ed7c003b5c53e45e31f7aa6d4a86f authored over 3 years ago
Fix ziplist length updates on bigendian platforms (#2080)

Adds call to intrev16ifbe to ensure ZIPLIST_LENGTH is compared correctly

eaa52719a355c4467d0383c1c9f5184c9c14fe5a authored over 3 years ago
Make redis-cli --help/-h output to stdout and exit with 0. (#9124)

If user executes redis-cli --help, the content should be output to stdout and exits with 0.

70dac4b4367485e0eddc1ae84b708cd14c18d626 authored over 3 years ago
Add missing pause tcl test to test_helper.tcl (#9158)

* Add keyname tags to avoid CROSSSLOT errors in external server CI
* Use new wait_for_blocked_c...

5dddf496ce5096a2853b54b65cbf46055cf78714 authored over 3 years ago
HSETNX can lead coding type change even when skipped due to NX (#4615)

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
Fix timing issue in psync2 test. (#9159)

*** [err]: PSYNC2: total sum of full synchronizations is exactly 4 intests/integration/psync2.tc...

1d5aa37d681ce3d841bdb631953956fe567993e4 authored over 3 years ago
Simplify logic in raxSeek, eliminate it->key reassembly on gt and lt (#9115)

In the original version, the operation of traversing the stack only seems to
reconstruct the ke...

cf1d49adbfd1713bd832ade9d57ffdc032e40c33 authored over 3 years ago
Add missing needs:repl tag. (#9169)

5d8ea4b3264125ee86b82f91431f47574bd58bda authored over 3 years ago
fix ZRANGESTORE - should return 0 when src points to an empty key (#9089)

mistakenly it used to return an empty array rather than 0.

Co-authored-by: Oran Agra <oran@re...

95274f1f8a3ef4cb4033beecfaa99ea1439ed170 authored over 3 years ago
Improve doc comment about AE_DONT_WAIT (#9165)

Co-authored-by: yoav-steinberg <[email protected]>

7913d34d7c5fb9fdc35afc4de57311cad84522e0 authored over 3 years ago
Include sizeof(struct stream) in objectComputeSize (#9164)

Affects MEMORY USAGE

4434cebbb38ae2ef39b2d74ed3e6cd8d1a061d0c authored over 3 years ago
ZRANDMEMBER WITHSCORES with negative COUNT may return bad score (#9162)

Return a bad score when used with negative count (or count of 1), and non-ziplist encoded zset.
...

4bc5a8324d3cb23ed2cc8a9cd19444a893a6d52c authored over 3 years ago
Remove unnecessary replication backlog memory copy (#9157)

in the past, the reply list was a list of sds objects, so this didn't have any overhead,
but no...

4fa3e23092d642f0c67116d9f7616f4f1173a1cf authored over 3 years ago
Corrections about the new protected-mode usage. (#9143)

1071430875f9a7814b2b0a198c3315e4c7c08be1 authored over 3 years ago
Fix link in README (#9145)

b71c5849e3e5c040b029c6e25cec2069d70760c1 authored over 3 years ago
Add bind-source-addr configuration argument. (#9142)

In the past, the first bind address that was explicitly specified was
also used to bind outgoin...

f233c4c59d24828c77eb1118f837eaee14695f7f authored over 3 years ago
Clean redis-benchmark Throughput output. (#9139)

some leftovers from print are visible when the new line is printed.

d1a21e02926b9c4cb850c076a445644562800bf1 authored over 3 years ago
change streamAppendItem to use raxEOF instead of raxNext (#9138)

The call to raxNext didn't really progress in the rax, since we were already on the last item.
...

89ae353748cffc50dbb0222529fa765e156f2951 authored over 3 years ago
Re-fix daily CI (#9141)

The freebsd and macos jobs were still broken.
also add a few more skip jobs options.

a5bc54f01eb90699945421df938814c193681780 authored over 3 years ago
Fix failing basics moduleapi test on 32bit CI (#9140)

5ffdbae1f64bb66b6e2470779540fb1051dcbff1 authored over 3 years ago
daily CI, fix odd yaml parsing error (#9137)

eb09fbce1ea5f65e3734af69a177110bbd639e78 authored over 3 years ago
Fix broken daily due to manual action triggers. and attempt to improve them (#9134)

The daily CI was broken by #9119 seems that for cron scheduled tasks, these ifs aren't evaluated...

0676a9fc6b99c7d3d7a04255d30f19bbbcf7638f authored over 3 years ago
Add manual triggers for Daily CI (#9119)

Hopefully now we'll be able to manually trigger extensive tests to PR branches without modifying...

b466471a52a0659bbabf820aae9089dc12774a2c authored over 3 years ago
Adjustments to recent RM_StringTruncate fix (#3718) (#9125)

- Introduce a new sdssubstr api as a building block for sdsrange.
The API of sdsrange is many...

ae418eca24ba53a7dca07b0e7065f856e625469b authored over 3 years ago
Remove leftover after CONFIG SET bind change. (#9129)

a49b766860fa5c942d2fe6b21e545afb5cdda70c authored over 3 years ago
Fix typo in test. (#9128)

8284544adb21d8d31a5fe75e0e194be1e863ed85 authored over 3 years ago
Improve bind and protected-mode config handling. (#9034)

* Specifying an empty `bind ""` configuration prevents Redis from listening on any TCP port. Bef...

07b0d144cee7e3ef0ed34fbf046c418d66099cea authored over 3 years ago
modules: Add newlen == 0 handling to RM_StringTruncate (#3717) (#3718)

Previously, passing 0 for newlen would not truncate the string at all.
This adds handling of th...

1ccf2ca2f475a161b8ca0c574d4c0e6ef9ecf754 authored over 3 years ago
solve test timing issues in replication tests (#9121)

# replication-3.tcl
had a test timeout failure with valgrind on daily CI:
```
*** [err]: SLAV...

d0819d618e97c81ada5b09adffc127f332a4ce73 authored over 3 years ago
Remove extra semicolon (#9117)

Remove extra semicolon.

bf92000e2dc33d484c73eaaa0af5cc47acf81b82 authored over 3 years ago
add tilt mode since in sentinel info (#9000)

Sentinel shows tilt mode boolean in info, now it'll show an indication of how long ago it started.

81d5f05b6e25f32476a1de3f264d45d386310ef0 authored over 3 years ago
Fix race in client side tracking (#9116)

The `Tracking gets notification of expired keys` test in tracking.tcl
used to hung in valgrind ...

9b564b525d8ce88295ec14ffdc3bede7e5f5c33e authored over 3 years ago
Check cluster_enabled in readwriteCommand just like readonlyCommand. (#9015)

f004073b54ee0b09afcb3789a8d835fd6018e99e authored over 3 years ago
redis-cli: support for REDIS_REPLY_SET in CSV and RAW output. (#7338)

Fixes #6792. Added support of REDIS_REPLY_SET in raw and csv output of `./redis-cli`

Test:

...

96bb078577ce2b0d093c873faae5d3ecca26a1de authored over 3 years ago
Make CONFIG GET OOM-score-adj-values case insensitive. (#9114)

1fabb89a41faf4666f9bda0737d9fde022fb14b1 authored over 3 years ago
chdir to dir before fopen logfile in loadServerConfigFromString() (#6741)

Open the log file only after parsing the entire config file, so that it's
location isn't depend...

4c52aa9faa4d6e3ba2243a4f45563cb4a1439bb8 authored over 3 years ago
Improve the debug help command message (#9098)

cleanups:
1: Re-introduce debug leak subcommand in help text.
Mistankenly deleted in https://g...

561c69c285e9ec00448e9692df7e15878f096bb0 authored over 3 years ago
Use loaderr label to handle error. (#9111)

So that we can easily see the lines of the config.
Also unified with other error handling.

89152f8e41d7c78ad9a3523b60813274265f3589 authored over 3 years ago
Use exitFromChild to exit from child process in linuxMadvFreeForkBugCheck (#9101)

6248127c43aee7d2a482076c4653cfb5461f0b16 authored over 3 years ago
Make readQueryFromClient more aggressive when reading big arg again (Followup for #9003) (#9100)

Due to the change in #9003, a long-standing bug was raised under `valgrind`.
This bug can cause...

1a22445d30809d36aa777f187c4217f38d11b53e authored over 3 years ago
Fix leak and double free issues in datatype2 module test (#9102)

* Add missing call for RedisModule_DictDel in datatype2 test
* Fix memory leak in datatype2 test

eae0983d2d5f13e0897494f2604a0df691c1678d authored over 3 years ago
Improve objectComputeSize() with allocator fragmentaiton. (#9095)

This commit improve MEMORY USAGE command to include internal fragmentation overheads of:
1. EMB...

ada60d8003765eeb0d171904f17d731de7f94b50 authored over 3 years ago
Fix querybuf test failure (#9091)

Fix test failure which introduced by #9003.
The following case will occur when querybuf expansi...

b586d5b567f78b27569f4ef11e5839f22d82e865 authored over 3 years ago
Support glob pattern matching for config include files (#8980)

This will allow distros to use an "include conf.d/*.conf" statement in the default configuration...

c2b93ff83fa509e1001991ec09ace856949bec40 authored over 3 years ago
Remove gopher protocol support. (#9057)

Gopher support was added mainly because it was simple (trivial to add).
But apparently even som...

362786c58a28b35b3249f97751535f9f72d4c6be authored over 3 years ago
Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999)

Create new module type enhanced callbacks: mem_usage2, free_effort2, unlink2, copy2.
These will...

e0cd3ad0de0bf2fe6ea0227e5ad7a0a489688b33 authored over 3 years ago
Change return value type for ZPOPMAX/MIN in RESP3 (#8981)

When using RESP3, ZPOPMAX/ZPOPMIN should return nested arrays for consistency
with other comman...

7f342020dcbdf9abe754d6b666efdeded7063870 authored over 3 years ago
Cleaning up the cluster interface by moving almost all related declar… (#9080)

* Cleaning up the cluster interface by moving almost all related declarations into cluster.h
(n...

c7e502a07bdeec29c2be41da70b483b2156d36db authored over 3 years ago
Fix the wrong reisze of querybuf (#9003)

The initialize memory of `querybuf` is `PROTO_IOBUF_LEN(1024*16) * 2` (due to sdsMakeRoomFor bei...

e5d8a5eb85b50ee7da1bf652c7d67e8e5b757ec9 authored over 3 years ago
Check `CLIENT_DIRTY_CAS` flag before process transaction. (#9086)

Do not queue command in an already aborted MULTI state.
We can detect an error (watched key).
...

eb15c456c9c318d86ae1d0ae2d50c590eec79595 authored over 3 years ago
presize hashtable to avoid rehashing when hashTypeConvertZiplist() (#8943)

678e67b58e0747ca0c3b655bffbb49aef1c7d8e8 authored over 3 years ago
Fix XINFO help for unexpected options. (#9075)

Small cleanup and consistency.

b1099773018510fed346be3f774852b65fa87a59 authored over 3 years ago
Fix coredump after Client Unpause command when threaded I/O is enabled (#9041)

Fix crash when using io-threads-do-reads and issuing CLIENT PAUSE and
CLIENT UNPAUSE.
This iss...

096c5fd5d22caa2c21a4863cbaaf64fd8e7107d2 authored over 3 years ago
slowlog get command supports passing in -1 to get all logs. (#9018)

This was already the case before this commit, but it wasn't clear / intended in the code, now it...

7900b48bc73bac45dce50ca43872e1af1412f5d5 authored over 3 years ago
Simplify a redundant condition in computeDefragCycles (#9076)

Co-authored-by: lizhaolong.lzl <[email protected]>

dee378d76dbe133a0d561a36931e78f1570217c5 authored over 3 years ago
Remove dead code in defrag.c (ziplist encoded list) (#9074)

Co-authored-by: lizhaolong.lzl <[email protected]>

688cdb05b401386c317bc7288c6b8290819ef6b5 authored over 3 years ago
cleanup around loadAppendOnlyFile (#9012)

Today when we load the AOF on startup, the loadAppendOnlyFile checks if
the file is openning fo...

1677efb9dadf1d0450e695c7232f1ea7f95cc1a2 authored over 3 years ago
msetnx reply error (#9061)

2727a2cec05365b8229af2ecdcb6583132873d1b authored over 3 years ago
Fix accidental deletion of sinterstore command when we meet wrong type error. (#9032)

SINTERSTORE would have deleted the dest key right away,
even when later on it is bound to fail ...

b8a5da80c49501773f8778aaf5cbf595cef615e4 authored over 3 years ago
Remove duplicate dbid lookup in performEvictions. (#9063)

Minor code cleanup.

5517f3624d900882eee39b06c494223087326417 authored over 3 years ago
Fix flaky test case for absolute TTL replication (#9069)

The root cause is that one test (`5 keys in, 5 keys out`) is leaking a volatile key
that can ex...

fb140a1bff5a4fc3082e362f4b57030625193115 authored over 3 years ago
Delete an unnecessary function declaration (#9065)

63da66bb63ddd77bf448bd8f9b3e4790172a3f26 authored over 3 years ago
Fixed some typos, add a spell check ci and others minor fix (#8890)

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
Improve test suite to handle external servers better. (#9033)

This commit revives the improves the ability to run the test suite against
external servers, in...

8a86bca5ed09094b561284fcb5b1fc416a4016dc authored over 3 years ago
Mem efficiency, make full use of client struct memory for reply buffers (#8968)

When we allocate a client struct with 16k reply buffer, the allocator we may give us 20K,
This ...

c396fd91a039feb5114e79f6f91459a0b1f74346 authored over 3 years ago
Verbose log enhancement: print client info when client exit (#9053)

It could be useful for debugging to know which client got disconnected.

119121c739ea3d3d7473945d13579191fc44d226 authored over 3 years ago
Module API for current command name (#8792)

sometimes you can be very deep in the call stack, without access to argv.
once you're there you...

e16d3eb998f7017c95ef17179de77aa5b6f2e272 authored over 3 years ago
Make redis-cli grep friendly in pubsub mode (#9013)

redis-cli is grep friendly for all commands but SUBSCRIBE/PSUBSCRIBE.
it is unable to process o...

77d44bb7b4f92a015aed231910d163f5571bf5f3 authored over 3 years ago
Fix some minor bugs in redis-cli (#8982)

* clusterManagerAddSlots check argv_idx error.

* clusterManagerLoadInfoFromNode remove unused...

1df8c129bc5a8ffaac28410dc1c39b4241c6078c authored over 3 years ago
Add support for combining NX and GET flags on SET command (#8906)

Till now GET and NX were mutually exclusive.
This change make their combination mean a "Get or ...

39b0f0dd73110989ee3ccdba3c202565dac41c7b authored over 3 years ago
Fix XTRIM or XADD with LIMIT may delete more entries than Count. (#9048)

The decision to stop trimming due to LIMIT in XADD and XTRIM was after the limit was reached.
i...

eaa7a7bb93c1ac6dbf347e1c29ac719a12a75158 authored over 3 years ago
comment typo: form -> from (#8921)

b438bc5a0bd0ec98681151a32a05845ffc917871 authored over 3 years ago
Fix typo in comment of flushAppendOnlyFile (#9051)

Co-authored-by: lizhaolong.lzl <[email protected]>

a972503f57005251bf5d05417f6a655a88ce35f1 authored over 3 years ago
tests: prevent name clash in variables leading to wrong test name (#8995)

running the "geo" unit would have shown that it completed a unit named
"north". this was becaus...

3e39ea0b83f5588a5460a366072a5c7b3bd42635 authored over 3 years ago
XTRIM call streamParseAddOrTrimArgsOrReply use wrong arg xadd. (#9047)

xtrimCommand call streamParseAddOrTrimArgsOrReply should use xadd==0.

When the syntax is vali...

91f3689bf5dc4ce3cf00d9d957b9677b362a205e authored over 3 years ago
Add missing zuiClearIterator in zrandmemberWithCountCommand. (#8979)

Also the bug that currently does not cause memory leaks.
Because op->type = OBJ_ZSET, in zuiCle...

bb671d90165590ecba80942e887b7a455d92384e authored over 3 years ago
Fix SENTINEL SET to require arguments (#9037)

156599ba2db1706cd5ce10f1c335f36c3ccb94ea authored over 3 years ago
tests: add details when test fails on malformed info (#9042)

b512dfe7943aa5c3f983914018cc6a61a9442699 authored over 3 years ago
document module unload error codes in comments (#9038)

3fbdbf5084992b8499a7c857399982044b418675 authored over 3 years ago
redis-cli cluster import command may issue wrong MIGRATE command. (#8945)

In clusterManagerCommandImport strcat was used to concat COPY and
REPLACE, the space maybe not ...

a049f6295a28a20b11eff89083e91dab0738413b authored over 3 years ago
Fix typo on buckup to backup (#8919)

f63bb9583d59985bd53f370e91924b26281207d7 authored over 3 years ago
Modules: show path and args in LIST reply

2ff53060d286b6a40d500316a3bbb8585020d99f authored over 3 years ago
Modules: rewrite config loadmodule option

babe3c7b29b7a7757d07439ac0a3c9185090cd23 authored over 3 years ago
Modules: free node after module loaded from server.loadmodule_queue

09e435c8d4d37d04ab13caa9344c0d3cc2889ba4 authored over 3 years ago