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

Add RM_ReplyWithVerbatimStringType that takes an ext/type arg (#9632)

Verbatim Stings in RESP3 have a type/extension.
The existing redismoule reply function, hard co...

24b67d5520ca062d2c0ed432112fd3c26ceb3daa authored over 3 years ago
Add sleep interval to redis-cli --scan option (#3751)

Adding -i option (sleep interval) of repeat and bigkeys to redis-cli --scan.
When the keyspace ...

49d26a9658f7ee4a4b5d65cd71b66a4cfcccfbaa authored over 3 years ago
Improved the reliability of cluster replica sync tests (#9628)

Improved the reliability of cluster replica sync tests

a6b5d518a98b2760dce137e1696b983aa91e8f30 authored over 3 years ago
Fix redis-cli SCAN sleep interval for big/hot keys (could have been skipped) (#9624)

bigkeys sleep is defined each 100 scanned keys, and it is checked it only between scan cycles.
...

075ac3454529d62af62284c2315b5732a97bfcaf authored over 3 years ago
hiredis: improve calloc() overflow fix. (#9630)

Cherry pick a more complete fix to 0215324a6 that also doesn't leak
memory from latest hiredis.

922ef86a3b1c15292e1f35338a0ac137a08a11b4 authored over 3 years ago
Fix compilation warnings in Lua and jemalloc dependencies (#7785)

- The argument `u` in for `ar` is ignored (and generates warnings since `D` became the default.
...

5a8294045289a7afff85935935ea8b231c3f49a7 authored over 3 years ago
Added jemalloc subtree upgrade instructions.

85737e674552bafefb6beb9a37531645e5d2178b authored over 3 years ago
Resolve nonsense static analysis warnings

ed92a3e8ed6bd4a30abca297bdb6f53331f92129 authored over 3 years ago
fix a rare active defrag edge case bug leading to stagnation

There's a rare case which leads to stagnation in the defragger, causing
it to keep scanning the ...

c6a26519a1f001c3d9ac066b0822c33dfab8e0e0 authored over 3 years ago
XADD - skip rewrite the id arg if it was given and is valid. (#9599)

When calling `XADD` with a predefined id (instead of `*`) there's no need to run
the code which...

252981914f8f3e5b6891ee14fcc3ac20f59ac262 authored over 3 years ago
master client should ignore proto_max_bulk_len in bitops (#9626)

484a1ad67e39da4d5cf07ad4687873364e1aafd4 authored over 3 years ago
Fix defrag to support sharded bins in arena (added in v5.2.1)

See https://github.com/jemalloc/jemalloc/commit/37b89139252db18c95ebce3e0eac67817fa4a8ab

908d3bdad96ca44f2019d074f5d548058ab5d27c authored over 3 years ago
Generate configure for Jemalloc 5.2.1.

./autogen.sh --with-version=5.2.1-0-g0

9e5cd2cb26e29fc4d334b469b2cce784aa563208 authored over 3 years ago
Active defrag fixes for 32bit builds (again)

* overflow in jemalloc fragmentation hint to the defragger

91bc78a8b8e3dee4bb531cc37f4fbd87db928cc5 authored over 3 years ago
add defrag hint support into jemalloc 5

29d7f97c96dd19db7200cf49595478be2e72be7f authored over 3 years ago
Squashed 'deps/jemalloc/' content from commit 886e40bb3

git-subtree-dir: deps/jemalloc
git-subtree-split: 886e40bb339ec1358a5ff2a52fdb782ca66461cb

220a0f0880419450c9409202aac1fab4b8be0719 authored over 3 years ago
Merge commit '220a0f0880419450c9409202aac1fab4b8be0719' as 'deps/jemalloc'

4d5911b4e47e1ac45fa53c1e80a735127bf8860e authored over 3 years ago
Delete old jemalloc before pulling in subtree.

4a884343f5935f7d470ab0ce013a421f119cfb3a authored over 3 years ago
Delete unused 'time' fields from struct bio_job (#9622)

looks like this field was never actually used and the call to time() is excessive.

7ff7536e2c55a8a624eb52ffc35c08441425e683 authored over 3 years ago
Move config logfile to generic config (#9592)

Move config `logfile` to generic configs

b874c6f1fcf844d28f84fc2a2ab6b8f6c2458462 authored over 3 years ago
Move config `cluster-config-file` to generic configs (#9597)

54d01e363a8a54bca53eb644f631d04a77c9b5e3 authored over 3 years ago
obuf based eviction tests run until eviction occurs (#9611)

obuf based eviction tests run until eviction occurs instead of assuming a certain
amount of wri...

834e8843de0f6d8379600f6dcedededb5e29ac06 authored over 3 years ago
Make tracking invalidation messages always after command's reply (#9422)

Tracking invalidation messages were sometimes sent in inconsistent order,
before the command's ...

fd135f3e2d3adfdec31980ee69be8f783fc8ddce authored over 3 years ago
Hide empty and loading replicas from CLUSTER SLOTS responses (#9287)

Hide empty and loading replicas from CLUSTER SLOTS responses

d98d1ad574076d05b83b1e3a7ed25c95377385fc authored over 3 years ago
Implement anetPipe() to combine creating pipe and setting flags (#9511)

Implement createPipe() to combine creating pipe and setting flags, also reduce
system calls by ...

2391aefd82e3e0f3d14d3e1db5100b007ea4e46c authored over 3 years ago
Test fails when flushdb triggers a bgsave (#9535)

Flush db and *then* wait for the bgsave to complete.

123cc1a1bca41233e711fd9b6a54d6901e72c6ce authored over 3 years ago
Avoid argv memcpy when queuing a multi command. (#9602)

When queuing a multi command we duplicated the argv (meaning an alloc
and a memcpy). This isn't...

5725088ff22065d6d6ce39ed79ed7ad63ff43f92 authored over 3 years ago
Added module-acquire-GIL latency stats (#9608)

The new value indicates how long Redis wait to
acquire the GIL after sleep. This can help ident...

4fb39b6700c2a08b7de595fbff8102b84c79e562 authored over 3 years ago
improve latency when a client is unblocked by module timer (#9593)

Scenario:
1. client block on command `XREAD BLOCK 0 STREAMS mystream $`
2. in a module, calli...

f5160ed0aa3aa6f9cff9dad5f595ab0927a66406 authored over 3 years ago
Attempt to fix rare pubsub oubuf maxmemory eviction test failure (#9603)

* Reduce delay between publishes to allow less time to write the obufs.
* More subscribed clien...

897c7bddf5dcdc2fd6b4071ecfb15a88a6afaa04 authored over 3 years ago
argv mem leak during multi command execution. (#9598)

Changes in #9528 lead to memory leak if the command implementation
used rewriteClientCommandArg...

83478e6102bd86d077e64bb40b0903f8a06905b1 authored over 3 years ago
Fix invalid memory write on lua stack overflow (CVE-2021-32626) (#9591)

When LUA call our C code, by default, the LUA stack has room for 10
elements. In most cases, th...

0f8b634cd5cdfd77696d34d744dfc25fa97f3b73 authored over 3 years ago
Fix mem leak in loading AOF, introduced by #9528 (#9582)

Recently merged PR introduced a leak when loading AOF files.
This was because argv_len wasn't s...

9e3dca8bef87f723e0f7a5b66e05d8215db89dad authored over 3 years ago
Fix protocol parsing on 'ldbReplParseCommand' (CVE-2021-32672) (#9590)

The protocol parsing on 'ldbReplParseCommand' (LUA debugging)
Assumed protocol correctness. Thi...

b0ca3be2bba3092ec7cc18e1d87380b1af951d48 authored over 3 years ago
Fix ziplist and listpack overflows and truncations (CVE-2021-32627, CVE-2021-32628) (#9589)

- fix possible heap corruption in ziplist and listpack resulting by trying to
allocate more t...

c5e6a6204c4cf57f85e7c83a9b4e99f1a7204fd2 authored over 3 years ago
Prevent unauthenticated client from easily consuming lots of memory (CVE-2021-32675) (#9588)

This change sets a low limit for multibulk and bulk length in the
protocol for unauthenticated ...

fba15850e5c31666e4c3560a3be7fd034fa7e2b6 authored over 3 years ago
Fix redis-cli / redis-sential overflow on some platforms (CVE-2021-32762) (#9587)

The redis-cli command line tool and redis-sentinel service may be vulnerable
to integer overflo...

0215324a66af949be39b34be2d55143232c1cb71 authored over 3 years ago
Fix Integer overflow issue with intsets (CVE-2021-32687) (#9586)

The vulnerability involves changing the default set-max-intset-entries
configuration parameter ...

7cb89a5a1cc8ee0b003a36b2eba42573c09c45f9 authored over 3 years ago
Fix integer overflow in _sdsMakeRoomFor (CVE-2021-41099) (#9558)

The existing overflow checks handled the greedy growing, but didn't handle
a case where the add...

24cc0b984d4ed5045c6ff125b0e619b6ce5ea9c6 authored over 3 years ago
improve the stability and correctness of "Test child sending info" (#9562)

Since we measure the COW size in this test by changing some keys and reading
the reported COW s...

5becb7c9c69d23aa208a8325eae0d02846590a78 authored over 3 years ago
decrby LLONG_MIN caused nagation overflow. (#9577)

Note that this breaks compatibility because in the past doing:
DECRBY x -9223372036854775808
w...

6f4f31f167fbaf6da1939a7764606059ca7e6de1 authored over 3 years ago
Remove argument count limit, dynamically grow argv. (#9528)

Remove hard coded multi-bulk limit (was 1,048,576), new limit is INT_MAX.
When client sends an ...

93e85347136a483047e92a3a7554f428d6260b0c authored over 3 years ago
Cleanup typos, incorrect comments, and fixed small memory leak in redis-cli (#9153)

1. Remove forward declarations from header files to functions that do not exist:
hmsetCommand a...

dd3ac97ffec8af88230275b560ca1f43325a5a9c authored over 3 years ago
Unify dbSyncDelete and dbAsyncDelete (#9573)

Just a cleanup to make the code easier to maintain and reduce the risk of something being overlo...

9a3bd07e9f2f9564a97df2e22663a4baffbe8cef authored over 3 years ago
Fix error message for replica-serve-stale-data in redis.conf doc (#9519)

seems that his piece of doc was always wrong (no such error in the code)

d50967559251496a9efaaafbf4a29038a6726f9e authored over 3 years ago
Allow to override OPENSSL_PREFIX (#9567)

While the original issue was on Linux, this should work for other
platforms as well.

12e4f31d94ff2f6231a147b1578a4efcb0a29a7c authored over 3 years ago
Modules: add RM_LoadDataTypeFromStringEncver (#9537)

adding an advanced api to enable loading data that was sereialized with a specific encoding version

ffafb434fb50b5697d1aa35342721eaa5f13e0eb authored over 3 years ago
verbose debug print in test to debug rare CI failure. (#9563)

d715655f16ef1b0ebbde35cd87a344cdd6dd0789 authored over 3 years ago
adding missing error check for fstat (#9532)

2c38caa176c98383bcddddf43da897e1b5dbcb0c authored over 3 years ago
Use __common__ attribute in redismodule.h for Clang C builds (#9541)

4be2dd6ab98a66e5e2cb92b66ac93d3b49dc4219 authored over 3 years ago
Fix stream sanitization for non-int first value (#9553)

This was recently broken in #9321 when we validated stream IDs to be
integers but did that afte...

5a4ab7c7d2da1773c5ed3dcfc6e367b5af03a33e authored over 3 years ago
Client eviction ci issues (#9549)

Fixing CI test issues introduced in #8687
- valgrind warnings in readQueryFromClient when clien...

66002530466a45bce85e4930364f1b153c44840b authored over 3 years ago
Add --skipfile and --skiptest regex support. (#9555)

Empty patterns are not considered and skipped.
Also, improve help text.

0af7fe2cab04309e57733b428817f477d06ecbda authored over 3 years ago
Fix obtain the AOF file length error when load AOF (#9510)

this was a regression from #9012 (not released yet)

7c1f9ef503fbf24183f262c86898f2005882f9ee authored over 3 years ago
Fix crash due to free() call for a string literal in redis-benchmark (#9546)

3ff56a6dde57b0109d16a186b65a3d2cdb4a7616 authored over 3 years ago
Use dictGetFairRandomKey() for HRANDFIELD,SRANDMEMBER,ZRANDMEMBER (#9538)

In the `HRANDFIELD`, `SRANDMEMBER` and `ZRANDMEMBER` commands,
There are some strategies that c...

9967a53f4c8e9f50a4e018aee469bf8c5a4647e9 authored over 3 years ago
Fix test randstring, compare string and int is wrong. (#9544)

This will cause the generated string containing "\".
Fixes a broken change in #8687

bdecbd30df83b838bce1cb06743611abc129b208 authored over 3 years ago
Minor optimize getMaxmemoryState, when server.maxmemory is not set (#9533)

Minor optimize getMaxmemoryState, when server.maxmemory is not set,
don't count AOF and replica...

f0fab99d6fd7b4310f03a2c84b465fae98d31bc0 authored over 3 years ago
Add RM_TrimStringAllocation(). (#9540)

This commit makes it possible to explicitly trim the allocation of a
RedisModuleString.

Curr...

bebc7f8470a5c6093514abf02f2514268c78b28f authored over 3 years ago
Client eviction (#8687)

### Description
A mechanism for disconnecting clients when the sum of all connected clients is ...

2753429c99425e3d0216cba79e0e61192975f252 authored over 3 years ago
Adding ACL support for modules (#9309)

This commit introduced a new flag to the RM_Call:
'C' - Check if the command can be executed ac...

a56d4533b72db8aa147be090c4c1d2bc548b9408 authored over 3 years ago
Add ZMPOP/BZMPOP commands. (#9484)

This is similar to the recent addition of LMPOP/BLMPOP (#9373), but zset.

Syntax for the new ...

14d6abd8e9a928aa920d5009d79e7b8ff2d0d5ba authored over 3 years ago
Fix redis-check-rdb rdb_type_string initialization error (#9534)

59c9716f96fbc651d4cdde734e4ec7da0d9eb815 authored over 3 years ago
tune lazyfree test timeout (#9527)

i've seen this CI failure a couple of times on MacOS:

*** [err]: lazy free a stream with all ...

5f7789d329d08ad658021b8be67cd4c3bf4073f7 authored over 3 years ago
Add const for relevant method parameters in redis-benchmark (#9516)

572abee6f17753fe2af59aeb7c3dd42baee66e1b authored over 3 years ago
replace redis-trib to redis-cli since it is no longer available (#9525)

67fcbdf8a1f094e84a716c522fb5d1128a1efba0 authored over 3 years ago
CLIENT LIST / INFO show resp version (#9508)

7c376398b1cd827282e17804e230c41cbb48a89c authored over 3 years ago
fix replication test failure, probing the wrong log file (#9513)

16be742b08164ee49f533be4ebdd185f90523d05 authored over 3 years ago
Adds limit to SINTERCARD/ZINTERCARD. (#9425)

Implements the [LIMIT limit] variant of SINTERCARD/ZINTERCARD.
Now with the LIMIT, we can stop ...

f898a9e97dbf711ee192aee60134a07841c735d0 authored over 3 years ago
createSharedObjects: zopomin and zpopmax apeear twice (#9505)

Introduced by https://github.com/redis/redis/pull/9502

08f4e1335c9ebd346c2e55b856ef38728dc64733 authored over 3 years ago
Sentinel: Fix failed daily tests, due to race condition (#9501)

53ad5627b7c0fd846590c97b9647fd4ed379d289 authored over 3 years ago
Support tclsh 8.7 (#9500)

157454ffa4388143f9d68753d0a94bc684010367 authored over 3 years ago
Cleanup: propagate and alsoPropagate do not need redisCommand (#9502)

The `cmd` argument was completely unused, and all the code that bothered to pass it was unnecess...

7759ec7c43d5ac9c40e884e46c2cc09872d55c99 authored over 3 years ago
A better approach for COMMAND INFO for movablekeys commands (#8324)

Fix #7297

The problem:

Today, there is no way for a client library or app to know the key ...

03fcc211de4cf7874c6eff58da3c6f67626ada5a authored over 3 years ago
Added URI support to redis-benchmark (cli and benchmark share the same uri-parsing methods) (#9314)

- Add `-u <uri>` command line option to support `redis://` URI scheme.
- included server connec...

b5a879e1c2df3dc83cbc17e0a8203decd2dc98ac authored over 3 years ago
Modules: Add remaining list API functions (#8439)

List functions operating on elements by index:

* RM_ListGet
* RM_ListSet
* RM_ListInsert
*...

ea36d4de17101f05b03d267a4afbae0f7b33a27c authored over 3 years ago
Fix memory leak due to missing freeCallback in blockonbackground moduleapi test (#9499)

Before #9497, before redis-server was shut down, we did not manually shut down all the clients,
...

1376d83363cf0e9c9f872762854518b16d8cedef authored over 3 years ago
fix typo in redis.conf. Interfece changed to interface (#9498)

f041990f2acde5ae1ef67351c6a505f3ef6fcf52 authored over 3 years ago
Fixed leaked client for "start_server" when running in --loop (#9497)

* On `kill_server` make sure we close the default `"client"` connection.
* Don't reconnect when...

4c7827588df9f827855d1b191f07b786734acb80 authored over 3 years ago
PSYNC2: make partial sync possible after master reboot (#8015)

The main idea is how to allow a master to load replication info from RDB file when rebooting, if...

794442b1300b7766f2e7f4d25a097a6b6148ef20 authored over 3 years ago
bitpos/bitcount add bit index (#9324)

Make bitpos/bitcount support bit index:

```
BITPOS key bit [start [end [BIT|BYTE]]]
BITCOUN...

75dd230994275c4448510d93d6c86541038574d2 authored over 3 years ago
TLS build fix on OpenBSD when built with LibreSSL. (#9486)

418c2e79313b367e64e47d38edd59f9f22a3b4fa authored over 3 years ago
init client pause value in more appropriate place (#9479)

d7fa44f4dae0ab1798697ec2671d9897b97983ae authored over 3 years ago
Fix RedisModule_Call tests on 32bit (#9481)

05e6b97bed17a5e5ba9864d4a08ef6bfa45ce222 authored over 3 years ago
Replace all usage of ziplist with listpack for t_zset (#9366)

Part two of implementing #8702 (zset), after #8887.

## Description of the feature
Replaced a...

3ca6972ecd3e9963f65b9cb1ff050ad60f03563e authored over 3 years ago
Remove redundant validation and prevent duplicate users during ACL load (#9330)

Throw an error when a user is provided multiple times on the command line instead of silently th...

86b0de5c41c96225377b83090fbdbe0209c2d9b9 authored over 3 years ago
Add make test-cluster option (#9478)

Add make test-cluster option

47c001dde670c5bc73b8385a69c629783039a273 authored over 3 years ago
Fix: client pause uses an old timeout (#9477)

A write request may be paused unexpectedly because `server.client_pause_end_time` is old.

**R...

f560531d5b8a6e6d810b62114e69a5ffda7730f7 authored over 3 years ago
Lua: Use all characters to calculate string hash (#9449)

For a lot of long strings which have same prefix which extends beyond
hashing limit, there will...

7f88923b40cf3d7730ab3e1843d42afc58840cb3 authored over 3 years ago
Add LMPOP/BLMPOP commands. (#9373)

We want to add COUNT option for BLPOP.
But we can't do it without breaking compatibility due to...

c50af0aeba693bf93e5c471cff08d8ccde0f5213 authored over 3 years ago
Add INFO total_active_defrag_time and current_active_defrag_time (#9377)

Add two INFO metrics:
```
total_active_defrag_time:12345
current_active_defrag_time:456
```
...

216f168b2b144ecf3d082fa9df20970901479d32 authored over 3 years ago
Delay to discard cached master when full synchronization (#9398)

* Delay to discard cache master when full synchronization
* Don't disconnect with replicas befo...

cee3d67f50a53fa388e8fe4ca32ab5cd8c1f1991 authored over 3 years ago
Fix callReplyParseCollection memleak when use AutoMemory (#9446)

When parsing an array type reply, ctx will be lost when recursively parsing its
elements, which...

bc0c22fabca058f4b23c9a634a37f6753dd963bd authored over 3 years ago
Adds the "bitmap" category to redis-cli help(#9474)

7c80a65484b31f397426189620bc32e68e8fd842 authored over 3 years ago
Add stdlib.h for RedisModule_Assert (#9470)

7a0e66856091be4ac2d33636cdb7e22f23fb25a3 authored over 3 years ago
Fix wrong offset when replica pause (#9448)

When a replica paused, it would not apply any commands event the command comes from master, if w...

1b83353dc382959e218191f64d94edb9703552e3 authored over 3 years ago
fix Readme, fork in rdb will create a process, a not thread (#7436)

74d9a35621d66a816e1c30de9cd84c461297495a authored over 3 years ago
Optimize quicklistIndex to seek from the nearest end (#9454)

Until now, giving a negative index seeks from the end of a list and a
positive seeks from the b...

547c3405d4d5cdb38ea598c07286c26688824f0a authored over 3 years ago
Speed up sentinel tests (#9408)

Use sentinel debug to reduce default timeouts and allow tests to execute faster.

763fd0941683eb64190daca6abab1f29a72a772e authored over 3 years ago
Add test verifying PUBSUB NUMPAT behavior (#9209)

8b8f05c86c1f1f002caa1f4e1877020389f167e4 authored over 3 years ago