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

Ban snapshot-creating commands and other admin commands from transactions (#10015)

Creating fork (or even a foreground SAVE) during a transaction breaks the atomicity of the trans...

ac84b1cd826a39c80cbc80a83787b7ba2cbc3ec8 authored about 3 years ago
use startEvictionTimeProc() in config set maxmemory (#10019)

This 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 AOFRW overheads. (#9788)

Implement Multi-Part AOF mechanism to avoid overheads during AOFRW.
Introducing a folder with m...

87789fae0b767e47fef78ee994434554f2bf2f31 authored about 3 years ago
Fix OOM error not raised of functions (#10048)

OOM Error did not raise on functions due to a bug.
Added test to verify the fix.

78a62c012438a8ae23161f6cfef8159e3a254524 authored about 3 years ago
Implement clusterbus message extensions and cluster hostname support (#9530)

Implement the ability for cluster nodes to advertise their location with extension messages.

5460c100471fda537468d1f1fa43258638c8a1ce authored about 3 years ago
Sharded pubsub implementation (#8621)

This commit implements a sharded pubsub implementation based off of shard channels.

Co-author...

9f8885760b53e6d3952b9c9b41f9e6c48dfa6cec authored about 3 years ago
Add DUMP RESTORE tests for redis-cli -x and -X options (#10041)

This commit adds DUMP RESTORES tests for the -x and -X options.
I wanted to add it in #9980 whi...

b8ba942ac2aabf51fd96134d9fa21b47d3baff4a authored about 3 years ago
Make sure replicas don't write their own replies to the replication link (#10020)

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 (#10017)

Report slot to keys map size in MEMORY STATS in cluster mode
Report dictMetadataSize in MEMORY ...

09c668f2208fef8594cca0675054f926bc7aa7a6 authored about 3 years ago
Wait for replicas when shutting down (#9872)

To avoid data loss, this commit adds a grace period for lagging replicas to
catch up the replic...

45a155bd0f1fda38fe132498a9441feac56cb45f authored about 3 years ago
Generate RDB with Functions only via redis-cli --functions-rdb (#9968)

This is needed in order to ease the deployment of functions for ephemeral cases, where user
nee...

1bf6d6f11eb08d98ba3de688d18d805a2d8696d5 authored about 3 years ago
Fix a valgrind test failure due to slowly shutdown (#10038)

This pr is mainly to solve the problem that redis process cannot be exited normally, due to chan...

888e92eb5797c1a6ce4c7b89c5814dbe13a8d8e3 authored about 3 years ago
Constrain error message to just node-id (#10022)

39ced1afa1ce90ac74116c156703beb66f0e211f authored about 3 years ago
Fix when the master connection is disconnected, replication retry read indefinitely (#10032)

Now if redis is still loading when we receive sigterm, we will wait for the loading to reach the...

73951abe7b86a565e3123fc1b8033efdcd1c0c04 authored about 3 years ago
Modules: Mark all APIs non-experimental (#9983)

These exist for quite some time, and are no longer experimental

e4b3a257eebd0acf0ba7bc5d0902166d02bacfdb authored about 3 years ago
redis-cli: Add -X option and extend --cluster call take arg from stdin (#9980)

There are two changes in this commit:

1. Add -X option to redis-cli.
Currently `-x` can only...

4836ae32c7eb485dd4b0196ec67b9838c6d87f80 authored about 3 years ago
Module API doc formatting from #9656 (#10026)

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 metadata to the commands SSOT files. (#10016)

Add missing information about commands, mainly from reviewing redis-doc and removing
the metada...

aec8c57701c0c6df995556dde37ef2fe9c9583ac authored about 3 years ago
Fixed typo in test tag (for needs:debug) (#10021)

b0c06e904a94bbc2da8003a1b230482ee34d6d5f authored about 3 years ago
Safe and organized exit when receiving sigterm while loading (#10003)

on the signal handler we are enabling server.shutdown_asap flag instead of just doing `exit()`,
...

43229e4f1028777a7d0e1b44425e3e3cb91ea8e9 authored about 3 years ago
Remove incomplete fix of a broader problem (#10013)

Preventing COFIG SET maxmemory from propagating is just the tip of the iceberg.
Module that per...

266d95066da8082ab569207765bea674fa297404 authored about 3 years ago
Check somaxconn system settings on macOS, FreeBSD and OpenBSD. (#9972)

Co-authored-by: Yossi Gottlieb <[email protected]>

2c5573e894dd7c64d2afd03c4934c30ff333fc8f authored about 3 years ago
Tests: don't rely on the response of MEMORY USAGE when mem_allocator is not jemalloc (#10010)

It turns out that libc malloc can return an allocation of a different size on requests of the sa...

af0b50f83a997ca3eb2e21fd9ee823ef15e12183 authored about 3 years ago
Adds utils/gen-commands-json.py (#9958)

Following #9656, this script generates a "commands.json" file from the output
of the new COMMAN...

f810510bb2f96c19b82b59222ae63941eedc9c20 authored about 3 years ago
Fix failing test due to recent change in transaction propagation (#10006)

PR #9890 may have introduced a problem.
There are tests that use MULTI-EXEC to make sure two BG...

317464a386c0ba8e027817c0743e7d802f4abb1d authored about 3 years ago
Fix race in propagation test (#10012)

There's a race between testing DBSIZE and the thread starting.
If the thread hadn't started by ...

0f15e025e63a33a3e28b08a83264c56f0550074b authored about 3 years ago
santize dump payload: fix carsh when zset with NAN score (#10002)

`zslInsert` with a NAN score will crash the server.
This one found by the `corrupt-dump-fuzzer`.

e84ccc3f566f78344b098c3eef6e371653bc311b authored about 3 years ago
Add FUNCTION DUMP and RESTORE. (#9938)

Follow the conclusions to support Functions in redis cluster (#9899)

Added 2 new FUNCTION sub...

365cbf46a717d660bbe9c832b6c9d7fc15982029 authored about 3 years ago
Changed fuction name to be case insensitive. (#9984)

Use case insensitive string comparison for function names (like we do for commands and configs)
...

08ff606b0bf93e5c5e62927cc9dbd229a28ee379 authored about 3 years ago
redis-cli: Add OUTPUT_JSON format type (#9954)

Introduce `redis-cli --json` option.
CSV doesn't support Map type, then parsing SLOWLOG or HMSE...

63f606d3e3fa8196f98627a1c3924179811d07a1 authored about 3 years ago
Sort out mess around propagation and MULTI/EXEC (#9890)

The mess:
Some parts use alsoPropagate for late propagation, others using an immediate one (pro...

7ac213079cd9afc49f87f08362155aa447c95c4f authored about 3 years ago
resolve replication test timing sensitivity - 2nd attempt (#9988)

issue started failing after #9878 was merged (made an exiting test more sensitive)
looks like #...

b7567394e1802906904fc380f95c05367e1f0c3f authored about 3 years ago
resolve replication test timing sensitivity (#9982)

issue started failing after #9878 was merged (made an exiting test more sensitive)

e33e0295bb18be14eee1f3ff162dff9522e37e20 authored about 3 years ago
Allow most CONFIG SET during loading, block some commands in async-loading (#9878)

## background
Till now CONFIG SET was blocked during loading.
(In the not so distant past, GET...

41e6e05deed42f5e9598ce9c9d4adb276c7ee22e authored about 3 years ago
Shorten timeouts of CLIENT PAUSE to avoid hanging when tests fail. (#9975)

If a test fails at `wait_for_blocked_clients_count` after the `PAUSE` command,
It won't send `U...

ad55fbaabb853d553b58ed951da1890590d3b835 authored about 3 years ago
There is mismach between function sdssplitlen() comments and implementation (#4909)

when count is 0, return NULL

b28dbef59dcbf976822f2ff86d67af372b92d11a authored about 3 years ago
Change FUNCTION CREATE, DELETE and FLUSH to be WRITE commands instead of MAY_REPLICATE. (#9953)

The issue with MAY_REPLICATE is that all automatic mechanisms to handle
write commands will not...

3bcf108416bea7ec700aeee2f79e8b31de35c060 authored about 3 years ago
Add --version support for redis-check-rdb (#9971)

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
Remove EVAL script verbatim replication, propagation, and deterministic execution logic (#9812)

# Background

The main goal of this PR is to remove relevant logics on Lua script verbatim rep...

1b0968df46f9f838e7daa540675b29073a00cf30 authored about 3 years ago
Fix recent daily CI test failures (#9966)

Recent PRs have introduced some failures, this commit
try to fix these CI failures. Here are th...

febc3f63b2b57afe3553b22c69c3ce27b5a3e842 authored about 3 years ago
Fix some nonsense came from LGTM (#9962)

1. Local variable 's' hides a parameter of the same name.
```
int anetTcpAccept(char *err, int...

0fb1aa0645fd1e31d12c8d57d4326ded0aa4d555 authored about 3 years ago
Add external test that runs without debug command (#9964)

- add needs:debug flag for some tests
- disable "save" in external tests (speedup?)
- use debu...

6add1b7217458dab90b2458e4bac3fa9a2c15e1b authored about 3 years ago
Protected configs and sensitive commands (#9920)

Block sensitive configs and commands by default.

* `enable-protected-configs` - block modific...

ae2f5b7b2e007e4bb7108407d7d41972312d0766 authored about 3 years ago
COMMAND: Use underscores instead of hyphens in attributes (#9959)

some languages can build a json-like object by parsing a textual json,
but it works poorly when...

5df070ba391c8870894a11e31f0c8fe2be9f8052 authored about 3 years ago
Introduce memory management on cluster link buffers (#9774)

Introduce memory management on cluster link buffers:
* Introduce a new `cluster-link-sendbuf-l...

792afb443211f190b3f8bea15e945661453fbddf authored about 3 years ago
Add FUNCTION FLUSH command to flush all functions (#9936)

Added `FUNCTION FLUSH` command. The new sub-command allows delete all the functions.
An optiona...

687210f1550cf9048bed5f5539c9411fb22cd3b0 authored about 3 years ago
Command table: Sorted subcommands (#9951)

Sort the sub-commands so that every time we execute the script it generates the exact same resul...

ffbe36fc3ee824407b3818c0a6f861176ce56482 authored about 3 years ago
Multiparam config get. (#9914)

Support doing `CONFIG GET <x> <y> <z>`, each of them can also be
a pattern with wildcards.

T...

70ff26b454357c4fdf77ff2cec31380ad3a32f40 authored about 3 years ago
Throw error on too long unix domain socket file path (#9826)

* Fix too long unix domain socket file path

Co-authored-by: Madelyn Olson <madelyneolson@gmai...

28b5a6537d7fcd5a9cb51451d2cf29959babe69d authored about 3 years ago
Auto-generate the command table from JSON files (#9656)

Delete the hardcoded command table and replace it with an auto-generated table, based
on a JSON...

867816003ec214840c18754be9840f1ddf4192d1 authored about 3 years ago
Use `server.dirty++` instead if `forceCommandPropagation` on FUNCTION commands (#9945)

Functions are considered data, so changing a function should be counted
as a data change and sh...

fbfdf513d275e1199bcf0196f1b5bb59898fb75f authored about 3 years ago
in line 3749 resetServerSaveParams will set the param to null,so no need (#9943)

to do here

95f943add664ba3e61588684c369ac913a7f3075 authored about 3 years ago
Error message improvement for CONFIG SET command (#9924)

When CONFIG SET fails, print the name of the config that failed.
This is helpful since config s...

a09bc5045b875d2e98e1c017f28a6162f2fbec1c authored about 3 years ago
Fix possible int overflow when hashing an sds. (#9916)

This caused a crash when adding elements larger than 2GB to a set (same goes for hash keys). See...

c7dc17fc0f9341f61be1a1318468409249310316 authored about 3 years ago
Redact ACL SETUSER arguments if the user has spaces (#9935)

c40d23b89fbee79506e73d1e44ed4ba9ea60ecd9 authored about 3 years ago
Fix timing issue in strem blocking tests (#9927)

A test failure was reported in Daily CI (FreeBSD).
`XREAD: XADD + DEL should not awake client`
...

b93ccee45136992fe08398cc9058f9546708062b authored about 3 years ago
Fix the server log when client use Multiparam Config Set (#9919)

When clients enter multiply parameters in the CONFIG SET command,
the server side log displays ...

5b351d073f6af79c37b41b6d2d007a70568ba5e0 authored about 3 years ago
Santize dump payload: fix crash when stream with duplicate consumes (#9918)

When rdb creates a consumer without determining whether it exists in advance,
it may return NUL...

7f0fae947a142687736e6a4075d7268853b624c6 authored about 3 years ago
Hide hidden configs from `config get` patterns. (#9888)

Added `HIDDEN_CONFIG` to hide debug / dev / testing configs from CONFIG GET
when it is used wit...

07b132607322467a0cd70e1cab884f6692d30f22 authored about 3 years ago
Fix outdated protected-mode documentation in sentinel.conf (#9896)

In 666b343, we modified the default value of protected-mode
from yes to no.

However, this ch...

f0373f720f531a7135a24028d70db5b3bfe6bedf authored about 3 years ago
Fix SENTINEL subcommands's arity (#9909)

For `SENTINEL SET`, we can use in these ways:
1. SENTINEL SET mymaster quorum 3
2. SENTINEL SE...

a7726cdf517eca16dec37655881ddae2688aaaeb authored about 3 years ago
improvement of a test in unit/pause.tcl (#9868)

Co-authored-by: xiaolei <[email protected]>

08ed44d722a278b9d0aa6a08c760ee1fc5a0f6ed authored about 3 years ago
Update documentation of _dictReset (#9908)

0b26e389d85adcdb651100e0e6d803b475c3394e authored about 3 years ago
Don't write oom score adj to proc unless we're managing it. (#9904)

When disabling redis oom-score-adj managment we restore the
base value read before enabling oom...

1736fa4d220266718980676855c3d3ca54d7da44 authored about 3 years ago
Fix timing issue in logging.tcl with FreeBSD (#9910)

A test failure was reported in Daily CI.
`Crash report generated on SIGABRT` with FreeBSD.

`...

b947049f8524fe93b383b141d041280a1c67c16d authored about 3 years ago
Fix spelling of sanitization (#9901)

36ca5452866ff66b4f2b145cec0f6f6824a370c0 authored about 3 years ago
Santize dump payload: fix invalid listpack entry start with EOF (#9889)

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
Merge Redis Functions PR (#9780)

# Redis Function
This PR added the Redis Functions capabilities that were suggested on #8693.
...

64f6159646337b4a3b56a400522ad4d028d55dac authored about 3 years ago
Redis Functions - Added redis function unit and Lua engine

Redis function unit is located inside functions.c
and contains Redis Function implementation:
1....

cbd463175f8b52d594fd4e6b953fa58a5db053c3 authored about 3 years ago
Fix CONFIG SET test failures in MacOS/FreeBSD (#9881)

After the introduction of `Multiparam config set` in #9748,
there are two tests cases failed.
...

e57a4db5d753e427317075071b0992fd965168b3 authored about 3 years ago
Fix a harmless bug when using monitor in redis-cli with wrong reply (#9875)

When we use monitor in redis-cli but encounter an error reply,
we will get stuck until we press...

e3c0ea1cb4ca80c57184a8894586e8fc3c646da1 authored about 3 years ago
Redis Functions - Moved invoke Lua code functionality to script_lua.c

The functionality was moved to script_lua.c under
callFunction function. Its purpose is to call ...

f21dc38a6ed3851a5e6501199e803ff0b93795cf authored about 3 years ago
Redis Functions - Introduce script unit.

Script unit is a new unit located on script.c.
Its purpose is to provides an API for functions (...

fc731bc67f8ecd07e83aa138b03a073028f9f3f2 authored about 3 years ago
Redis Functions - Move Lua related variable into luaCtx struct

The following variable was renamed:
1. lua_caller -> script_caller
2. lua_time_limit -> scr...

e0cd580aefe13e49df802fec5135e4f22d46e758 authored about 3 years ago
Redis Functions - Move code to make review process easier.

This commit is only move code around without changing it.
The reason behind this is to make revi...

22aab1ce94f5725f1c8d0fa3a062fd2e12957967 authored about 3 years ago
Multiparam config set (#9748)

We can now do: `config set maxmemory 10m repl-backlog-size 5m`

## Basic algorithm to support ...

0e5b813ef94b373f82bc75efcf3405f2c81af3dc authored about 3 years ago
Adds auto-seq-only-generation via `XADD ... <ms>-*` (#9217)

Adds the ability to autogenerate the sequence part of the millisecond-only explicit ID specified...

21aa1d4b9118bd42d254c7f9e6157c44d8b1a61d authored about 3 years ago
Sentinel master reboot fix (#9438)

Add master-reboot-down-after-period as a configurable parameter, to make it possible to trigger ...

2afa41f62847b92ba66f5579b4731494fac3afc3 authored about 3 years ago
modify misleading note in comment (#9865)

now rdbSaveInfo used in both way, so i think we should update previous notes, in case of misleading

af072c26bcf62dc4be1cfee7c2ca7242ac2d16aa authored about 3 years ago
Extend output of DEBUG HELP for POPULATE (#9869)

bdf531e38da06e87d6b2aa0f65da1b5b87b0f776 authored about 3 years ago
Swap '\r\n' with spaces when returning a big number reply from Lua script. (#9870)

The issue can only happened with a bad Lua script that claims to return
a big number while actu...

b8e82d205b010c2d8c89457ad69e25b1ba620fd0 authored about 3 years ago
Fix CLIENT KILL kill all clients with id 0 (#9853)

* Fix CLIENT KILL kill all clients with id 0 or with skipme
CLIENT KILL with ID argument should...

3119a3aeb5c3283a23eed4195a80413d5499d065 authored about 3 years ago
fix deprecation of _BSD_SOURCE feature test macro (#9861)

caused a build warning in linenoise since glibc 2.20

2386e541826c04b9932be775360b2f4464db948b authored about 3 years ago
fixed mem leak on rdb load error (#9860)

a rare case of short read that can happen when breaking the master-replica
connection on diskle...

9f9c78578f87e02118d8b1a215b946b61338b8a3 authored about 3 years ago
Add REDIS_CFLAGS='-Werror' to CI tests (#9828)

Update CI so that warnings cause build failures.

Also fix a warning in `test-sanitizer-addres...

980bb3ae19ecb3c3e112242e076bb8ceff521cf1 authored about 3 years ago
improvement of a blocking xread test (#9859)

This test relies on that `XREAD BLOCK 20000 STREAMS s1{t} s2{t} s3{t} $ $ $`
is executed by red...

d56ded89c54943ed69a5811e6b6cc55b8ecdce6e authored about 3 years ago
Fix abnormal compression due to out-of-control recompress (#9849)

This pr is following #9779 .

## Describe of feature
Now when we turn on the `list-compress-d...

494ee2f1fc5cf1687b302a95e49003573dc375d5 authored about 3 years ago
Improve stability in some blocking command tests (#9856)

In order to test the situation where multiple clients are
blocked, we set up multiple clients t...

8759c1e14bafd026ddc8a097b3fbe2aa914b7578 authored about 3 years ago
Clean Lua stack before parsing call reply to avoid crash on a call with many arguments (#9809)

This commit 0f8b634cd (CVE-2021-32626 released in 6.2.6, 6.0.16, 5.0.14)
fixes an invalid memor...

6b0b04f1b265c429bd19d6c99c9e7e2921723601 authored about 3 years ago
Fix Lua C API violation on lua msgpack lib. (#9832)

msgpack lib missed using lua_checkstack and so on rare
cases overflow the stack by at most 2 el...

a8c1253b6fd1d85ba33a8749e14e4fa515508df0 authored about 3 years ago
Sort out the mess around writable replicas and lookupKeyRead/Write (#9572)

Writable replicas now no longer use the values of expired keys. Expired keys are
deleted when l...

acf3495eb823df8d1f358b1fe59b759fcc49666f authored about 3 years ago
Fix COMMAND GETKEYS on LCS (#9852)

Remove lcsGetKeys to clean up the remaining STRALGO after #9733.
i.e. it still used a getkeys_p...

4d8700786e2f198f9ef44961196122bbb80ee640 authored about 3 years ago
Cleanup: fix typo and remove some obsoleting definitions. (#9851)

596635fa0c01b377d6e86c1766c7014504f5e1db authored about 3 years ago
Do not watch keys for dirty client (#9829)

Currently, the watching clients are marked as dirty when a watched
key is touched, but we conti...

fa48fb2d0f60f03bc325a23b6e88dd2043d27470 authored about 3 years ago
fix fob bad log messages in rdbSave (#9842) (#9843)

logs message prints wrong file is failed to open temporary file
logs have error occurred in get...

9630ded313d593c318ac220ace165319283a74fe authored about 3 years ago
Replace ziplist with listpack in quicklist (#9740)

Part three of implementing #8702, following #8887 and #9366 .

## Description of the feature
...

4512905961b3a2f4c00e5fe7ffff8d96db82861e authored about 3 years ago
Wait for `asyn_loading` to stop in `short read` test (#9841)

In #9323, when `repl-diskless-load` is enabled and set to `swapdb`,
if the master replication I...

fb4f7be22c6f26faf3f222d1ff8d7119fd6c084e authored about 3 years ago
Add tests to cover EXPIRE overflow fix (#9839)

In #8287, some overflow checks have been added. But when
`when *= 1000` overflows, it will beco...

9273d09dd46353015406c26cd7d3826b78109a38 authored about 3 years ago
fix invalid read on corrupt ziplist (#9831)

If the last bytes in ziplist are corrupt and we decode from tail to head,
we may reach slightly...

a3a014294f019c17db5abba9011524626a41c7cf authored about 3 years ago
QUIT is a command, HOST: and POST are not (#9798)

Some people complain that QUIT is missing from help/command table.
Not appearing in COMMAND com...

b161cff5f92a01acc23ac4ff533e65bda579e1a6 authored about 3 years ago