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
Verbatim Stings in RESP3 have a type/extension.
The existing redismoule reply function, hard co...
Adding -i option (sleep interval) of repeat and bigkeys to redis-cli --scan.
When the keyspace ...
Improved the reliability of cluster replica sync tests
a6b5d518a98b2760dce137e1696b983aa91e8f30 authored over 3 years ago
bigkeys sleep is defined each 100 scanned keys, and it is checked it only between scan cycles.
...
Cherry pick a more complete fix to 0215324a6 that also doesn't leak
memory from latest hiredis.
- The argument `u` in for `ar` is ignored (and generates warnings since `D` became the default.
...
85737e674552bafefb6beb9a37531645e5d2178b authored over 3 years ago
ed92a3e8ed6bd4a30abca297bdb6f53331f92129 authored over 3 years ago
There's a rare case which leads to stagnation in the defragger, causing
it to keep scanning the ...
When calling `XADD` with a predefined id (instead of `*`) there's no need to run
the code which...
484a1ad67e39da4d5cf07ad4687873364e1aafd4 authored over 3 years ago
See https://github.com/jemalloc/jemalloc/commit/37b89139252db18c95ebce3e0eac67817fa4a8ab
908d3bdad96ca44f2019d074f5d548058ab5d27c authored over 3 years ago./autogen.sh --with-version=5.2.1-0-g0
9e5cd2cb26e29fc4d334b469b2cce784aa563208 authored over 3 years ago* overflow in jemalloc fragmentation hint to the defragger
91bc78a8b8e3dee4bb531cc37f4fbd87db928cc5 authored over 3 years ago29d7f97c96dd19db7200cf49595478be2e72be7f authored over 3 years ago
git-subtree-dir: deps/jemalloc
git-subtree-split: 886e40bb339ec1358a5ff2a52fdb782ca66461cb
4d5911b4e47e1ac45fa53c1e80a735127bf8860e authored over 3 years ago
4a884343f5935f7d470ab0ce013a421f119cfb3a authored over 3 years ago
looks like this field was never actually used and the call to time() is excessive.
7ff7536e2c55a8a624eb52ffc35c08441425e683 authored over 3 years agoMove config `logfile` to generic configs
b874c6f1fcf844d28f84fc2a2ab6b8f6c2458462 authored over 3 years ago54d01e363a8a54bca53eb644f631d04a77c9b5e3 authored over 3 years ago
obuf based eviction tests run until eviction occurs instead of assuming a certain
amount of wri...
Tracking invalidation messages were sometimes sent in inconsistent order,
before the command's ...
Hide empty and loading replicas from CLUSTER SLOTS responses
d98d1ad574076d05b83b1e3a7ed25c95377385fc authored over 3 years ago
Implement createPipe() to combine creating pipe and setting flags, also reduce
system calls by ...
Flush db and *then* wait for the bgsave to complete.
123cc1a1bca41233e711fd9b6a54d6901e72c6ce authored over 3 years ago
When queuing a multi command we duplicated the argv (meaning an alloc
and a memcpy). This isn't...
The new value indicates how long Redis wait to
acquire the GIL after sleep. This can help ident...
Scenario:
1. client block on command `XREAD BLOCK 0 STREAMS mystream $`
2. in a module, calli...
* Reduce delay between publishes to allow less time to write the obufs.
* More subscribed clien...
Changes in #9528 lead to memory leak if the command implementation
used rewriteClientCommandArg...
When LUA call our C code, by default, the LUA stack has room for 10
elements. In most cases, th...
Recently merged PR introduced a leak when loading AOF files.
This was because argv_len wasn't s...
The protocol parsing on 'ldbReplParseCommand' (LUA debugging)
Assumed protocol correctness. Thi...
- fix possible heap corruption in ziplist and listpack resulting by trying to
allocate more t...
This change sets a low limit for multibulk and bulk length in the
protocol for unauthenticated ...
The redis-cli command line tool and redis-sentinel service may be vulnerable
to integer overflo...
The vulnerability involves changing the default set-max-intset-entries
configuration parameter ...
The existing overflow checks handled the greedy growing, but didn't handle
a case where the add...
Since we measure the COW size in this test by changing some keys and reading
the reported COW s...
Note that this breaks compatibility because in the past doing:
DECRBY x -9223372036854775808
w...
Remove hard coded multi-bulk limit (was 1,048,576), new limit is INT_MAX.
When client sends an ...
1. Remove forward declarations from header files to functions that do not exist:
hmsetCommand a...
Just a cleanup to make the code easier to maintain and reduce the risk of something being overlo...
9a3bd07e9f2f9564a97df2e22663a4baffbe8cef authored over 3 years agoseems that his piece of doc was always wrong (no such error in the code)
d50967559251496a9efaaafbf4a29038a6726f9e authored over 3 years ago
While the original issue was on Linux, this should work for other
platforms as well.
adding an advanced api to enable loading data that was sereialized with a specific encoding version
ffafb434fb50b5697d1aa35342721eaa5f13e0eb authored over 3 years agod715655f16ef1b0ebbde35cd87a344cdd6dd0789 authored over 3 years ago
2c38caa176c98383bcddddf43da897e1b5dbcb0c authored over 3 years ago
4be2dd6ab98a66e5e2cb92b66ac93d3b49dc4219 authored over 3 years ago
This was recently broken in #9321 when we validated stream IDs to be
integers but did that afte...
Fixing CI test issues introduced in #8687
- valgrind warnings in readQueryFromClient when clien...
Empty patterns are not considered and skipped.
Also, improve help text.
this was a regression from #9012 (not released yet)
7c1f9ef503fbf24183f262c86898f2005882f9ee authored over 3 years ago3ff56a6dde57b0109d16a186b65a3d2cdb4a7616 authored over 3 years ago
In the `HRANDFIELD`, `SRANDMEMBER` and `ZRANDMEMBER` commands,
There are some strategies that c...
This will cause the generated string containing "\".
Fixes a broken change in #8687
Minor optimize getMaxmemoryState, when server.maxmemory is not set,
don't count AOF and replica...
This commit makes it possible to explicitly trim the allocation of a
RedisModuleString.
Curr...
bebc7f8470a5c6093514abf02f2514268c78b28f authored over 3 years ago
### Description
A mechanism for disconnecting clients when the sum of all connected clients is ...
This commit introduced a new flag to the RM_Call:
'C' - Check if the command can be executed ac...
This is similar to the recent addition of LMPOP/BLMPOP (#9373), but zset.
Syntax for the new ...
14d6abd8e9a928aa920d5009d79e7b8ff2d0d5ba authored over 3 years ago59c9716f96fbc651d4cdde734e4ec7da0d9eb815 authored over 3 years ago
i've seen this CI failure a couple of times on MacOS:
*** [err]: lazy free a stream with all ...
5f7789d329d08ad658021b8be67cd4c3bf4073f7 authored over 3 years ago572abee6f17753fe2af59aeb7c3dd42baee66e1b authored over 3 years ago
67fcbdf8a1f094e84a716c522fb5d1128a1efba0 authored over 3 years ago
7c376398b1cd827282e17804e230c41cbb48a89c authored over 3 years ago
16be742b08164ee49f533be4ebdd185f90523d05 authored over 3 years ago
Implements the [LIMIT limit] variant of SINTERCARD/ZINTERCARD.
Now with the LIMIT, we can stop ...
Introduced by https://github.com/redis/redis/pull/9502
08f4e1335c9ebd346c2e55b856ef38728dc64733 authored over 3 years ago53ad5627b7c0fd846590c97b9647fd4ed379d289 authored over 3 years ago
157454ffa4388143f9d68753d0a94bc684010367 authored over 3 years ago
The `cmd` argument was completely unused, and all the code that bothered to pass it was unnecess...
7759ec7c43d5ac9c40e884e46c2cc09872d55c99 authored over 3 years agoFix #7297
The problem:
Today, there is no way for a client library or app to know the key ...
03fcc211de4cf7874c6eff58da3c6f67626ada5a authored over 3 years ago
- Add `-u <uri>` command line option to support `redis://` URI scheme.
- included server connec...
List functions operating on elements by index:
* RM_ListGet
* RM_ListSet
* RM_ListInsert
*...
Before #9497, before redis-server was shut down, we did not manually shut down all the clients,
...
f041990f2acde5ae1ef67351c6a505f3ef6fcf52 authored over 3 years ago
* On `kill_server` make sure we close the default `"client"` connection.
* Don't reconnect when...
The main idea is how to allow a master to load replication info from RDB file when rebooting, if...
794442b1300b7766f2e7f4d25a097a6b6148ef20 authored over 3 years agoMake bitpos/bitcount support bit index:
```
BITPOS key bit [start [end [BIT|BYTE]]]
BITCOUN...
418c2e79313b367e64e47d38edd59f9f22a3b4fa authored over 3 years ago
d7fa44f4dae0ab1798697ec2671d9897b97983ae authored over 3 years ago
05e6b97bed17a5e5ba9864d4a08ef6bfa45ce222 authored over 3 years ago
Part two of implementing #8702 (zset), after #8887.
## Description of the feature
Replaced a...
Throw an error when a user is provided multiple times on the command line instead of silently th...
86b0de5c41c96225377b83090fbdbe0209c2d9b9 authored over 3 years agoAdd make test-cluster option
47c001dde670c5bc73b8385a69c629783039a273 authored over 3 years agoA write request may be paused unexpectedly because `server.client_pause_end_time` is old.
**R...
f560531d5b8a6e6d810b62114e69a5ffda7730f7 authored over 3 years ago
For a lot of long strings which have same prefix which extends beyond
hashing limit, there will...
We want to add COUNT option for BLPOP.
But we can't do it without breaking compatibility due to...
Add two INFO metrics:
```
total_active_defrag_time:12345
current_active_defrag_time:456
```
...
* Delay to discard cache master when full synchronization
* Don't disconnect with replicas befo...
When parsing an array type reply, ctx will be lost when recursively parsing its
elements, which...
7c80a65484b31f397426189620bc32e68e8fd842 authored over 3 years ago
7a0e66856091be4ac2d33636cdb7e22f23fb25a3 authored over 3 years ago
When a replica paused, it would not apply any commands event the command comes from master, if w...
1b83353dc382959e218191f64d94edb9703552e3 authored over 3 years ago74d9a35621d66a816e1c30de9cd84c461297495a authored over 3 years ago
Until now, giving a negative index seeks from the end of a list and a
positive seeks from the b...
Use sentinel debug to reduce default timeouts and allow tests to execute faster.
763fd0941683eb64190daca6abab1f29a72a772e authored over 3 years ago8b8f05c86c1f1f002caa1f4e1877020389f167e4 authored over 3 years ago