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
Creating fork (or even a foreground SAVE) during a transaction breaks the atomicity of the trans...
ac84b1cd826a39c80cbc80a83787b7ba2cbc3ec8 authored about 3 years agoThis would mean that the effects of `CONFIG SET maxmemory` may not be visible once the command r...
2e1979a21e0d30e8dacb86617f891fb004700fbc authored about 3 years ago
Implement Multi-Part AOF mechanism to avoid overheads during AOFRW.
Introducing a folder with m...
OOM Error did not raise on functions due to a bug.
Added test to verify the fix.
Implement the ability for cluster nodes to advertise their location with extension messages.
5460c100471fda537468d1f1fa43258638c8a1ce authored about 3 years agoThis commit implements a sharded pubsub implementation based off of shard channels.
Co-author...
9f8885760b53e6d3952b9c9b41f9e6c48dfa6cec authored about 3 years ago
This commit adds DUMP RESTORES tests for the -x and -X options.
I wanted to add it in #9980 whi...
Since #9166 we have an assertion here to make sure replica clients don't write anything to their...
2ff3fc1790142332d6ae827db799208b4da03df3 authored about 3 years ago
Report slot to keys map size in MEMORY STATS in cluster mode
Report dictMetadataSize in MEMORY ...
To avoid data loss, this commit adds a grace period for lagging replicas to
catch up the replic...
This is needed in order to ease the deployment of functions for ephemeral cases, where user
nee...
This pr is mainly to solve the problem that redis process cannot be exited normally, due to chan...
888e92eb5797c1a6ce4c7b89c5814dbe13a8d8e3 authored about 3 years ago39ced1afa1ce90ac74116c156703beb66f0e211f authored about 3 years ago
Now if redis is still loading when we receive sigterm, we will wait for the loading to reach the...
73951abe7b86a565e3123fc1b8033efdcd1c0c04 authored about 3 years agoThese exist for quite some time, and are no longer experimental
e4b3a257eebd0acf0ba7bc5d0902166d02bacfdb authored about 3 years agoThere are two changes in this commit:
1. Add -X option to redis-cli.
Currently `-x` can only...
Add blank before lists, so that they will be rendered as lists.
Commands RM_GetCommand and RM...
5006eab5527155413aa94ed7c7f6b93344f92cbe authored about 3 years ago
Add missing information about commands, mainly from reviewing redis-doc and removing
the metada...
b0c06e904a94bbc2da8003a1b230482ee34d6d5f authored about 3 years ago
on the signal handler we are enabling server.shutdown_asap flag instead of just doing `exit()`,
...
Preventing COFIG SET maxmemory from propagating is just the tip of the iceberg.
Module that per...
Co-authored-by: Yossi Gottlieb <[email protected]>
2c5573e894dd7c64d2afd03c4934c30ff333fc8f authored about 3 years agoIt turns out that libc malloc can return an allocation of a different size on requests of the sa...
af0b50f83a997ca3eb2e21fd9ee823ef15e12183 authored about 3 years ago
Following #9656, this script generates a "commands.json" file from the output
of the new COMMAN...
PR #9890 may have introduced a problem.
There are tests that use MULTI-EXEC to make sure two BG...
There's a race between testing DBSIZE and the thread starting.
If the thread hadn't started by ...
`zslInsert` with a NAN score will crash the server.
This one found by the `corrupt-dump-fuzzer`.
Follow the conclusions to support Functions in redis cluster (#9899)
Added 2 new FUNCTION sub...
365cbf46a717d660bbe9c832b6c9d7fc15982029 authored about 3 years ago
Use case insensitive string comparison for function names (like we do for commands and configs)
...
Introduce `redis-cli --json` option.
CSV doesn't support Map type, then parsing SLOWLOG or HMSE...
The mess:
Some parts use alsoPropagate for late propagation, others using an immediate one (pro...
issue started failing after #9878 was merged (made an exiting test more sensitive)
looks like #...
issue started failing after #9878 was merged (made an exiting test more sensitive)
e33e0295bb18be14eee1f3ff162dff9522e37e20 authored about 3 years ago
## background
Till now CONFIG SET was blocked during loading.
(In the not so distant past, GET...
If a test fails at `wait_for_blocked_clients_count` after the `PAUSE` command,
It won't send `U...
when count is 0, return NULL
b28dbef59dcbf976822f2ff86d67af372b92d11a authored about 3 years ago
The issue with MAY_REPLICATE is that all automatic mechanisms to handle
write commands will not...
Let's you see which version of redis this tool is part of (similarly to redis-cli and redis-benc...
23b61734863a5f8bc66fa44734f8c8c3cd2c365a authored about 3 years ago# Background
The main goal of this PR is to remove relevant logics on Lua script verbatim rep...
1b0968df46f9f838e7daa540675b29073a00cf30 authored about 3 years ago
Recent PRs have introduced some failures, this commit
try to fix these CI failures. Here are th...
1. Local variable 's' hides a parameter of the same name.
```
int anetTcpAccept(char *err, int...
- add needs:debug flag for some tests
- disable "save" in external tests (speedup?)
- use debu...
Block sensitive configs and commands by default.
* `enable-protected-configs` - block modific...
ae2f5b7b2e007e4bb7108407d7d41972312d0766 authored about 3 years ago
some languages can build a json-like object by parsing a textual json,
but it works poorly when...
Introduce memory management on cluster link buffers:
* Introduce a new `cluster-link-sendbuf-l...
Added `FUNCTION FLUSH` command. The new sub-command allows delete all the functions.
An optiona...
Sort the sub-commands so that every time we execute the script it generates the exact same resul...
ffbe36fc3ee824407b3818c0a6f861176ce56482 authored about 3 years ago
Support doing `CONFIG GET <x> <y> <z>`, each of them can also be
a pattern with wildcards.
T...
70ff26b454357c4fdf77ff2cec31380ad3a32f40 authored about 3 years ago* Fix too long unix domain socket file path
Co-authored-by: Madelyn Olson <madelyneolson@gmai...
28b5a6537d7fcd5a9cb51451d2cf29959babe69d authored about 3 years ago
Delete the hardcoded command table and replace it with an auto-generated table, based
on a JSON...
Functions are considered data, so changing a function should be counted
as a data change and sh...
to do here
95f943add664ba3e61588684c369ac913a7f3075 authored about 3 years ago
When CONFIG SET fails, print the name of the config that failed.
This is helpful since config s...
This caused a crash when adding elements larger than 2GB to a set (same goes for hash keys). See...
c7dc17fc0f9341f61be1a1318468409249310316 authored about 3 years agoc40d23b89fbee79506e73d1e44ed4ba9ea60ecd9 authored about 3 years ago
A test failure was reported in Daily CI (FreeBSD).
`XREAD: XADD + DEL should not awake client`
...
When clients enter multiply parameters in the CONFIG SET command,
the server side log displays ...
When rdb creates a consumer without determining whether it exists in advance,
it may return NUL...
Added `HIDDEN_CONFIG` to hide debug / dev / testing configs from CONFIG GET
when it is used wit...
In 666b343, we modified the default value of protected-mode
from yes to no.
However, this ch...
f0373f720f531a7135a24028d70db5b3bfe6bedf authored about 3 years ago
For `SENTINEL SET`, we can use in these ways:
1. SENTINEL SET mymaster quorum 3
2. SENTINEL SE...
Co-authored-by: xiaolei <[email protected]>
08ed44d722a278b9d0aa6a08c760ee1fc5a0f6ed authored about 3 years ago0b26e389d85adcdb651100e0e6d803b475c3394e authored about 3 years ago
When disabling redis oom-score-adj managment we restore the
base value read before enabling oom...
A test failure was reported in Daily CI.
`Crash report generated on SIGABRT` with FreeBSD.
`...
b947049f8524fe93b383b141d041280a1c67c16d authored about 3 years ago36ca5452866ff66b4f2b145cec0f6f6824a370c0 authored about 3 years ago
When an invalid listpack entry starts with EOF, we will skip it when we verify it in the loop.
1808618f5d1f0d9cd4df49fb05b67bcc83c7b0fb authored about 3 years ago
# Redis Function
This PR added the Redis Functions capabilities that were suggested on #8693.
...
Redis function unit is located inside functions.c
and contains Redis Function implementation:
1....
After the introduction of `Multiparam config set` in #9748,
there are two tests cases failed.
...
When we use monitor in redis-cli but encounter an error reply,
we will get stuck until we press...
The functionality was moved to script_lua.c under
callFunction function. Its purpose is to call ...
Script unit is a new unit located on script.c.
Its purpose is to provides an API for functions (...
The following variable was renamed:
1. lua_caller -> script_caller
2. lua_time_limit -> scr...
This commit is only move code around without changing it.
The reason behind this is to make revi...
We can now do: `config set maxmemory 10m repl-backlog-size 5m`
## Basic algorithm to support ...
0e5b813ef94b373f82bc75efcf3405f2c81af3dc authored about 3 years agoAdds the ability to autogenerate the sequence part of the millisecond-only explicit ID specified...
21aa1d4b9118bd42d254c7f9e6157c44d8b1a61d authored about 3 years agoAdd master-reboot-down-after-period as a configurable parameter, to make it possible to trigger ...
2afa41f62847b92ba66f5579b4731494fac3afc3 authored about 3 years agonow rdbSaveInfo used in both way, so i think we should update previous notes, in case of misleading
af072c26bcf62dc4be1cfee7c2ca7242ac2d16aa authored about 3 years agobdf531e38da06e87d6b2aa0f65da1b5b87b0f776 authored about 3 years ago
The issue can only happened with a bad Lua script that claims to return
a big number while actu...
* Fix CLIENT KILL kill all clients with id 0 or with skipme
CLIENT KILL with ID argument should...
caused a build warning in linenoise since glibc 2.20
2386e541826c04b9932be775360b2f4464db948b authored about 3 years ago
a rare case of short read that can happen when breaking the master-replica
connection on diskle...
Update CI so that warnings cause build failures.
Also fix a warning in `test-sanitizer-addres...
980bb3ae19ecb3c3e112242e076bb8ceff521cf1 authored about 3 years ago
This test relies on that `XREAD BLOCK 20000 STREAMS s1{t} s2{t} s3{t} $ $ $`
is executed by red...
This pr is following #9779 .
## Describe of feature
Now when we turn on the `list-compress-d...
In order to test the situation where multiple clients are
blocked, we set up multiple clients t...
This commit 0f8b634cd (CVE-2021-32626 released in 6.2.6, 6.0.16, 5.0.14)
fixes an invalid memor...
msgpack lib missed using lua_checkstack and so on rare
cases overflow the stack by at most 2 el...
Writable replicas now no longer use the values of expired keys. Expired keys are
deleted when l...
Remove lcsGetKeys to clean up the remaining STRALGO after #9733.
i.e. it still used a getkeys_p...
596635fa0c01b377d6e86c1766c7014504f5e1db authored about 3 years ago
Currently, the watching clients are marked as dirty when a watched
key is touched, but we conti...
logs message prints wrong file is failed to open temporary file
logs have error occurred in get...
Part three of implementing #8702, following #8887 and #9366 .
## Description of the feature
...
In #9323, when `repl-diskless-load` is enabled and set to `swapdb`,
if the master replication I...
In #8287, some overflow checks have been added. But when
`when *= 1000` overflows, it will beco...
If the last bytes in ziplist are corrupt and we decode from tail to head,
we may reach slightly...
Some people complain that QUIT is missing from help/command table.
Not appearing in COMMAND com...