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
- fix `the the` typo
- `LPOPRPUSH` does not exist, should be `RPOPLPUSH`
- `CLUSTER GETKEYINSL...
- BITOP: turn argument `operation` from string to oneof
- CLIENT KILL: turn argument `skipme` f...
We will always show the bus-port, and if the node hostname exists, it will also show it.
ed4c432ec55a292044e1c7e2a7ff093784e07bb5 authored over 2 years ago by Binbin <[email protected]>Better redis-cli hints for commands that take other commands as arguments.
```
command getke...
The sentinel CONFIG GET command doesn't support multiple arguments, but the json file did.
remo...
If Redis crashes due to calling an invalid function pointer,
the `backtrace` function will try ...
Mainly fix two minor bug
1. When handle BL*POP/BLMOVE commands with blocked clients, we should ...
The original idea behind auto-setting the default (first,last,step) spec was to use
the most "o...
doing redis-cli --memkeys-samples without any additional arguments
would have lead to a crash o...
The arity in the JSON files of the subcommands reneder this
code unreachable
SunOS/Solaris and its relatives don't support the flock() function.
While "redis" has been excl...
If a command gets an OOM response and then if we set maxmemory to zero
to disable the limit, se...
* Fix CLUSTER SHARDS showing empty hostname
In #10290, we changed clusterNode hostname from `...
1de675b3d52a369b88dc7a73f0bc359f7984ca44 authored over 2 years ago by Binbin <[email protected]>
Adds a number of user management/ACL validaiton/command execution functions to improve a
Redis ...
Executing an XAUTOCLAIM command on a stream key in a specific state, with a
specially crafted C...
The bug is that the the server keeps on sending newlines to the client.
As a result, the receiv...
Starting from 6.2, after ACL SETUSER user reset, the user
will carry the sanitize-payload flag....
When using `INFO ALL <section>`, when `section` is a specific module section.
Redis will not p...
This bug was introduced in #10344 (7.0.3), and it breaks the
redis-cli --cluster create usage i...
This PR mainly deals with 2 crashes introduced in #9357,
and fix the QUICKLIST-PACKED-THRESHOLD...
This bug is introduced in #7653. (Redis 6.2.0)
When `server.maxmemory_eviction_tenacity` is 1...
464aa04188c42c82f411ac7d43fabf0f6038c98e authored over 2 years ago by zhaozhao.zz <[email protected]>d144dc927a6ea10cd5dcbdb2eacd58e929dedcfe authored over 2 years ago by Adi Pinsky <[email protected]>
42e4241ecee472fc2341660e29652f0e2a485453 authored over 2 years ago by Viktor Söderqvist <[email protected]>
6c03786b66d27a53629cac21d5b89b17bfad6b65 authored over 2 years ago by Madelyn Olson <[email protected]>
Just noticed that there are some inaccurate, or at least confusing information about `repl-diskl...
36abc0fa8f50a0c5bbe8b5ddcca657d6ada94363 authored over 2 years ago by Eduardo Semprebon <[email protected]>For the stream data type, some commands, such as **XGROUP CREATE, XGROUP DESTROY, XGROUP CREATEC...
5389fa62a64ddb277a58db4b21934d47cd298028 authored over 2 years ago by Wen Hui <[email protected]>e67d06ee6be9c93fe626ad19f11b2d572d58a0ba authored over 2 years ago by Mingyi Kang <[email protected]>
fix semantic uncorresponding in comment of ziplist example
89018ff6a78dd130f0d03914ce658e9f73010948 authored over 2 years ago by *caco <[email protected]>* Added api to use dictionary iterators without calling malloc.
fb1d56bc2ae6466f4f6eac5a966936b904b5dbdc authored over 2 years ago by tmoshaiov <[email protected]>
When using cli to add node, there can potentially be a race condition in
which all nodes presen...
When Redis is built without TLS support, connectionTypeTls() function
keeps searching connecti...
This command is related with reply buffer, not replay buffer
Co-authored-by: Shogo Hayashi <h...
e764e2a627ace62f6081076aead9902d4871ca59 authored over 2 years ago by Shogo Hayashi <[email protected]>
EVAL scripts are by default not considered `write` commands, so they were allowed on a replica.
...
Add a new "D" flag to RM_Call which runs whatever verification the user requests,
but returns b...
micro optimizations, giving the hints that the returned addresses
are guaranteed to be unique....
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.3 to 0.2.4.
- [R...
New test fails on valgrind because strtold("+inf") with valgrind returns a non-inf result
same ...
When RM_Call was used with `M` (reject OOM), `W` (reject writes),
as well as `S` (rejecting sta...
Bugfix:
with the scenario if we force assigned a slot to other master,
old master will lose th...
Check the validity of the value before performing the create operation,
prevents new data from ...
TLDR: the CLUSTER command originally had the `random` flag,
so all the sub-commands initially g...
* Remove redundant array bio_pending[]. Value at index i identically reflects the
length of lis...
networking: Spell verb *set up* with space in error message
14e026e685ee47d0fa9bebfbee125b9effcb2883 authored over 2 years ago by Paul Menzel <[email protected]>
Redis 7.0 has #9890 which added an assertion when the propagation queue
was not flushed and we ...
add a few terms to the white list, and fix a few newly detected typos
78259826cd35fd1b03cf0fce122c6e3e2fd69961 authored over 2 years ago by Binbin <[email protected]>
The GETDEL command only operates on strings, and strings are never freed
lazily, so there's no ...
Fix `Test replication with lazy expire` test to not timeout the wait command.
This fix will all...
The PR reverts the changes made on #10969.
The reason for revert was trigger because of occasio...
There are many commits in this PR, the detailed changes is described
in each commit message.
...
41d9eb0291417c36d694894c936d8f4f29ec5504 authored over 2 years ago by Oran Agra <[email protected]>
* Support BUILD_TLS=module to be loaded as a module via config file or
command line. e.g. redi...
The previous implementation calls `snprintf` twice, the second time used to
'memcpy' the output...
407b5c912f2a9151e760ed82515059d7bf6776f9 authored over 2 years ago by Itamar Haber <[email protected]>
A module may be loaded only during initial stage, a typical case is
connection type shared libra...
A module may be loaded only during initial stage, a typical case is
connection type shared libra...
Suggested by Oran, add necessary listeners information in 'INFO'
command. It would be helpful fo...
Introduce listen method into connection type, this allows no hard code
of listen logic. Original...
Suggested by Oran, use an array to store all the connection types
instead of a linked list, and ...
Unix socket uses different accept handler/create listener from TCP,
to hide these difference to ...
Abstract accept handler for socket&TLS, and add helper function
'connAcceptHandler' to get accep...
socketFds is also suitable for Unix socket, then we can use
'createSocketAcceptHandler' to creat...
Abstract common interface of connection type, so Redis can hide the
implementation and uplayer o...
Introduce .get_peer_cert, .get_ctx and .get_client_ctx for TLS, also
hide redis_tls_ctx & redis_...
Introduce .has_pending_data and .process_pending_data for connection
type, and hide tlsHasPendin...
Use connTypeRegister() to register a connection type into redis, and
query connection by connect...
Originally, connPeerToString is designed to get the address info from
socket only(for both TCP &...
Reorder methods for CT_Socket & CT_TLS, also add comments to make the
methods clear.
Also move ...
b9d77288243aeab306b99ff72a71d8490a91e0a8 authored over 2 years ago by zhenwei pi <[email protected]>
getsockopt is part of TCP, rename 'connGetSocketError' to
'anetGetError', and move it into anet....
These functions are really short enough and they are the connection
functions, separate them fro...
ConnectionType CT_Socket is implemented in connection.c, so rename
this file to socket.c.
Signe...
22e74e4720f6f4629389d42fb344c876b73437bf authored over 2 years ago by zhenwei pi <[email protected]>A overlooked mistake in the #11162
a5349832fe5d6a663096525a20dc237fa8ba3503 authored over 2 years ago by Itamar Haber <[email protected]>
Till now Redis officially supported tuning it via environment variable see #1074.
But we had ot...
This change was part of #9656 (Redis 7.0)
31ef410e88dabb3f0d475dd3cae9edc00ba55aa7 authored over 2 years ago by Itamar Haber <[email protected]>This PR includes 2 missed test cases of XDEL and XGROUP CREATE command
1. one test case: XDEL...
c3a0253bc84861b5aa1a6f54ede42b63751e7e8a authored over 2 years ago by Wen Hui <[email protected]>change the cluster-node-timeout from 1 to 1000
3a16ad30b7a7918f036b23c6f5cf079c04baab05 authored over 2 years ago by Binbin <[email protected]>
This PR makes sure that "name" is unique for all arguments in the same
level (i.e. all args of ...
Currently, we call zfree(cmd->args), but the argument array
needs to be freed recursively (ther...
Fix replication inconsistency on modules that uses key space notifications.
### The Problem
...
Make sure the script calls in the tests declare the keys they intend to use.
Do that with minim...
The initial module format introduced in 4.0 RC1 and was changed in RC2
The initial function fo...
There's really no point in having dedicated flags to test these features
(why shouldn't all com...
Before this change in hashTypeSet() function, we first use dictFind()
to look for the field and...
Fix Lua compile warning on GCC 12.1
GCC 12.1 prints a warning on compile:
```
ldump.c: In ...
This pr mainly has the following four changes:
1. Add missing lua_pop in `luaGetFromRegistry`...
8aad2ac35201fd6feadb6f59e7cc0c2afb19129b authored over 2 years ago by sundb <[email protected]>The divided by two and less <= 10 logics were changed in 06ca9d683920da19ad53532f8cd55b54584027b...
1f600efd013b9b01d683ba32f7630a5cf51ada43 authored over 2 years ago by Binbin <[email protected]>Fix overflow in redis-benchmark affecting latency measurements on 32bit builds.
If `long` is ...
99ebbee2b260b3466672b4fa351cf1cb5e9b5fe9 authored over 2 years ago by Ozan Tezcan <[email protected]>
Fix bug with scripts ignoring client tracking NOLOOP and
send an invalidation message anyway.
replace "dist" with "dict"
91c3c742e7b85ae957bdb325a66132b6ed0097d3 authored over 2 years ago by judeng <[email protected]>
some skip tags were missing on some tests
avoid using HELLO if denytags has resp3 (target serve...
`bitfield` with `get` may not be readonly.
```
127.0.0.1:6384> acl setuser hello on nopass %...
* Optimize the performance of multi-key commands in cluster mode
* add note
7d8911d22a588c78098e2df080d954cc889d5529 authored over 2 years ago by judeng <[email protected]>
This is the history of aof-race related changes:
1. added in 3aa4b0097062b13031506b6b52fc8fc4bf...
This is an addition to #11039, which cleans up rdbLoad* related errno. Remove the
errno print f...
* Avoid the sdslen() on shared.crlf given we know its size beforehand
* Removed shared.crlf fro...
Small refactoring done to reuse `checkGoodReplicasStatus` in `script.c` when checking for status...
f3588fbcca1eb339324c72ff78b4643420fd020a authored over 2 years ago by Jie Liang Ang <[email protected]>
Fixing few macros that doesn't follows most basic safety conventions
which is wrapping any usag...
* some of the tests don't clean the key the use
* marked tests with `{singledb:skip}` if they u...
This is a harmless optimization/bug.
When the top of the lua stack is a string, we should not c...
Update error messages for function load
beb9746a9f5f3df198c1b655b7f024b610d9371c authored over 2 years ago by Wen Hui <[email protected]>
Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.0 to 0.2.3.
- [R...
There is a -Wimplicit-function-declaration warning in here:
```
keyspace_events.c: In function...