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
GEODIST used snprintf("%.4f") for the reply using addReplyDoubleDistance,
which was slow. This ...
* Remove duplicate code, propagating SSL errors into connection state.
* Add missing error hand...
The test failed with ERR DUMP payload version or checksum are wrong.
And it only fails on CentO...
profiling EVALSHA\ we see that luaReplyToRedisReply takes 8.73% out of the
56.90% of luaCallFun...
This test sets the master ping interval to 1 hour, in order to avoid
pings in the replicatoin s...
1. "Fixed" the current code so that seen-time/idle actually refers to interaction
attempts (a...
Add a new module event `RedisModule_Event_Key`, this event is fired
when a key is removed from ...
As being discussed in #10981 we see a degradation in performance
between v6.2 and v7.0 of Redis...
Before this PR, we use sdsMakeRoomFor() to expand the size of hyperloglog
string (sparse repres...
redis-benchmark: when trying to get the CONFIG before benchmark,
avoid printing any warning on ...
In replica, the key expired before master's `INCR` was arrived, so INCR
creates a new key in th...
Add an option "withscores" to ZRANK and ZREVRANK.
Add `[withscore]` option to both `zrank` an...
eeca7f29117a5e376da3e6f1a419fdf5a6e78e8b authored about 2 years ago by C Charles <[email protected]>
In scenarios in which we have large datasets and the elements are not
contained within the rang...
There was a custom function for creating a dictionary by enumerating an existing dictionary, whi...
cb7447b3875efd4b4b00fa48f1da444dbd4980df authored about 2 years ago by Madelyn Olson <[email protected]>Add an error message when PID file fails to be written. This has historically been considered a ...
fbdebc1d74f9cd3badeece9f86a668f9dbb491d8 authored about 2 years ago by Madelyn Olson <[email protected]>
It look like it will generate a warning in FreeBSD:
```
./server.h:105:9: warning: 'member2s...
Accidentally introduced when merging unstable in #11199
24282a381a89cc8281c57ceedcca5f7eb404d396 authored about 2 years ago by sundb <[email protected]>Avoid spurious wakeup on deleted timer event
Co-authored-by: Madelyn Olson <madelyneolson@gma...
7be86177a3ac3f7ecf2049f9157502e214e8b326 authored about 2 years ago by Tian <[email protected]>The cluster-announce-port/cluster-announce-bus-port/cluster-announce-tls-port should take effect...
25ffa79b649d0c4285c3667c1eae9b118514e0eb authored about 2 years ago by DevineLiu <[email protected]>
When we're shrinking the hash table, we don't need to hash the keys.
Since the table sizes are...
clusterNodeClearSlotBit()/clusterNodeSetSlotBit(), only set bit when slot does not exist and cle...
ce4ebe6ba858bd6be7cabdc830f5ef30d6fcd37a authored about 2 years ago by DarrenJiang13 <[email protected]>### Summary of API additions
* `RedisModule_AddPostNotificationJob` - new API to call inside ...
abc345ad2837cb36ade137982859b6a8666b2735 authored about 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Optimize geohashGetDistanceIfInRectangle when there are many misses.
It calls 3x geohashGetDist...
In #11511 we introduced member_offset which has a sanitizer warning:
```
multi.c:390:26: runti...
Fix compile warning for SHA1Transform() method under alpine with GCC 12.
Warning:
```
In fu...
Command SENTINEL DEBUG could be no arguments, which display all
configurable arguments and thei...
In unwatchAllKeys() function, we traverse all the keys watched by the client,
and for each key ...
Technically, these commands were deprecated as of 2.6.12, with the
introduction of the respecti...
This PR add `assert_refcount_morethan`, and modify `assert_refcount` to skip
the `OBJECT REFCOU...
Now, according to the comments, if the truncated file is not the last file,
it will be consider...
This payload produces a set with duplicate elements (listpack encoding):
```
restore _key 0 "\...
Apparently we used to set `loglevel debug` for tls in spawn_instance.
I.e. cluster and sentinel...
The following example will create an empty set (listpack encoding):
```
> RESTORE key 0
"\x14...
Till now Sentinel allowed modifying the log level in the config file, but not at runtime.
this ...
Introduce Shard IDs to logically group nodes in cluster mode.
1. Added a new "shard_id" field t...
Improve memory efficiency of list keys
## Description of the feature
The new listpack encodi...
Both functions and eval are marked as "no-monitor", since we want to explicitly feed in the scri...
d136bf28307ed2add5a0b709586433f4cffd70a7 authored about 2 years ago by Madelyn Olson <[email protected]>
The test introduced in #11482 fail on ARM (extra CI):
```
*** [err]: RESP2: RM_ReplyWithDouble...
In moduleFireServerEvent we change the real client DB to 0 on freeClient in case the event is RE...
e4eb18b303d716aeebc4153176a6cd93b8bd5d66 authored about 2 years ago by uriyage <[email protected]>
The test introduced in #11482 fail on mac:
```
*** [err]: RESP3: RM_ReplyWithDouble: inf in te...
Adding a test to cover the already existing behavior of NAN replies,
to accompany the PR that a...
Fix a few issues with the recent #11463
* use exitFromChild instead of exit
* test should igno...
Add missing lpFree, introduced in #11290
6617f1704ba9ce6d119c033c10cbe1450f0eeedf authored about 2 years ago by Binbin <[email protected]>
Small sets with not only integer elements are listpack encoded, by default
up to 128 elements, ...
Clients should not use this command.
Instead, clients should simply close the connection when t...
During a diskless sync, if the master main process crashes, the child would
have hung in `write...
Add needs:save tag for the test introduced by #11376
f92899185367ab08a084c501ba54759390c92e63 authored about 2 years ago by Ozan Tezcan <[email protected]>Till now Redis attempted to avoid using jemalloc on ARM, but didn't do that properly (missing ar...
3e112d46100f21e3cba3973b231c6e3e39cd22d9 authored about 2 years ago by Oran Agra <[email protected]>1f2456389be4be433a5caa0bf59dc19166a4af09 authored about 2 years ago by yancz2000 <[email protected]>
Since they're created with makeObjectShared, then incrRefCount on them is a NOP.
Signed-off-b...
0cbe10e892045dc4cba8d1bf3a8193b2cd8506ae authored about 2 years ago by Hanif Ariffin <[email protected]>
Our FreeBSD daily has been failing recently:
```
Config file: freebsd-13.1.conf
cd: /User...
Introduce socket `shutdown()` into connection type, and use it
on normal socket if a fork is ac...
Retain ACL categories used to generate ACL for displaying them later
c337c0a8a49d7cb64617b0a414d05b31425666f7 authored about 2 years ago by Madelyn Olson <[email protected]>
Today we don't place any specific restrictions on module command names.
This can cause ambiguou...
Resolve an edge case where the ID of a stream is updated retroactively
to an ID lower than the ...
According to the source code, the commands can be executed with only key name,
and no GET/SET/I...
* Print IP and port on cluster bus message sanity check
Add a print statement to indicate whi...
e632e62e68cd2e4ccc65872069509d62cfa12553 authored about 2 years ago by Binbin <[email protected]>Re-design cluster link send queue to improve memory management
47c493e070c8ac59ccc34d694700bca8ec517fbc authored about 2 years ago by Brennan <[email protected]>This PR add test case for PR #11417, with only key as argument for GEOHASH and GEOPOS
4a8a62505134094f8de0ca293da932c3d009df15 authored about 2 years ago by Wen Hui <[email protected]>All current usage of the function are correct, but in the future it might change.
5b102e2339f45f1a688215496a884893accec527 authored about 2 years ago by xbasel <[email protected]>
Renamed from "Pause Clients" to "Pause Actions" since the mechanism can pause
several actions i...
RM_Call is designed to let modules call redis commands disregarding the
OOM state (the module i...
Reducing duplicate header file definitions <sys/resource.h>
af4361712278e4ac05603fd4bbea21af02385b9e authored about 2 years ago by AntiTopQuark <[email protected]>e9d4ed4e0fda81aefa0cebf2559dc233d472c902 authored about 2 years ago by xbasel <[email protected]>
These commands take a list of members, which can be empty (i.e. running
the command with just a...
We do not need to return the length of argv because it is equal to argc, which we return anyway....
f8970fdbfa138f8576340ff0af73c3d2603c7e8e authored about 2 years ago by guybe7 <[email protected]>
This is a rare failure mode of a new feature of redis 7 introduced in #9217
(when the increment...
Funcion sentinelAddrEqualsHostname() of sentinel makes DNS resolve
and based on it determines i...
redis.set_repl() needs one arg, but the tips says two.
20df1424a23ed4eedb2c6bde17ee8f368b155407 authored about 2 years ago by qetu3790 <[email protected]>
The following two cases will create an empty destkey HLL:
1. called with no source keys, like `...
In the module, we will reuse the list iterator entry for RM_ListDelete, but `listTypeDelete` wil...
6dd213558b0f77e2233743718e23556fb06a557e authored about 2 years ago by sundb <[email protected]>
11 was the size of header/trailer in the old structure Ziplist,
but now the size of header/trai...
The use case is a module that wants to implement a blocking command on a key that
necessarily e...
### Background
The issue is that when saving an RDB with module AUX data, the module AUX meta...
b43f254813025e3deea6ef65126ea2bad49af857 authored about 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Seems excessive to call getExpire if we don't need it.
This can maybe have some speedup on AOF ...
fix some malloc macros in `listpack.c`.
listpack has it's own malloc aliases, but in some place...
And fix a few newly detected typo.
Closes #11394
Motivation: for applications that use RM ACL verification functions, they would
want to return ...
As discussed on #11084, `propagatePendingCommands` should happened after the del
notification i...
* Fixes build warning when CACHE_LINE_SIZE is already defined
* Fixes wrong CACHE_LINE_SIZE on ...
All commands / use cases that heavily rely on double to a string representation conversion,
(e....
When using the MIGRATE, with a destination Redis that has the user name or password set to the s...
9ab873d9d35e789a228c5281d57c9c4fdc1e4ce1 authored about 2 years ago by C Charles <[email protected]>
1. show the overcommit warning when overcommit is disabled (2),
not just when it is set to h...
PR #9320 introduces initialization order changes. Now cluster is initialized after modules.
Thi...
Redis commands has been significantly refactored in 7.0.
This PR updates the outdated README.md...
remove double period at the end of sentence.
4c53bdc24193296ad59da36089fd50776db31afc authored about 2 years ago by Nikita Tolkachev <[email protected]>
The old `server.unixtime*1000000` will overflow in 32-bits.
This was introduced in #10300 (not r...
Co-authored-by: Moti Cohen <[email protected]>
9b94e93eb8f20e0cb06ee7db513e7425601be4bf authored about 2 years ago by Rahul Vishwakarma <[email protected]>
Forgot to start redis-server when testing performance.
When opening the benchmark for testing, ...
Freeze time during execution of scripts and all other commands.
This means that a key is either...
As mentioned on docs, `RM_ResetDataset` Performs similar operation to FLUSHALL.
As FLUSHALL do ...
f609a4eda79c693cd92fa0c1be4ac1481f9b8910 authored about 2 years ago by Taishi Kasuga <[email protected]>
Build fails with warnings in ARM CI after adding more aggressive optimizations (#11350)
probabl...
Added authentication failure and access denied metrics
8e1941534388101f7e936bdf1126eda0036eb9fe authored about 2 years ago by aradz44 <[email protected]>Refine getTimeoutFromObjectOrReply() out-of-range check.
Timeout is parsed (and verifies out ...
210ad2e4dbed843ef91c2d291a5823d7c3a5cb66 authored about 2 years ago by Moti Cohen <[email protected]>
Currently, we add -flto to the compile flags only. We are supposed
to add it to the linker flag...
This PR introduces a couple of changes to improve cluster test stability:
1. Increase the clust...
There is a race condition in the test:
```
*** [err]: redis-cli --cluster add-node with cluste...
ff808090535a665ce3e376b88ff7e07818a2916b authored over 2 years ago by David CARLIER <[email protected]>
Optimization update from -O2 to -O3 -flto gives up to 5% performance gain
in 'redis-benchmarks-...