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 wrong version calculation on Redis Function tests. (#10217)

6ca97da0fcea4c260e656c3a05b12c34e5a4d63d authored about 3 years ago
Added history for cluster-slots changes for hostnames(#10216)

* The first field was previously only an IP address, it can now be a hostname or NULL.
* There ...

d0bc4fff18afdf9e5421cc88e23ffbb876ecaec3 authored about 3 years ago
Change replica migration tests to use continous slots to improve speed (#10215)

8b1cda756812ba5fb697b0126cfbfa9dcd312bc8 authored about 3 years ago
Revent the attempt to fix cluster rebalance test (#10207) (#10212)

It seems that fix didn't really solve the problem with ASAN,
and also introduced issues with ot...

d364ede59cb3c4e7b448450fa68e54b955bb220c authored about 3 years ago
update help.h before release (#10210)

ef93125988f90ae1c5cc22aa214f63622dbfa911 authored about 3 years ago
Fix cluster bus extensions backwards compatibility (#10206)

Before this commit, notused1 was incorrectly resized resulting with a clusterMsg that is not bac...

8013af6f3dcbcc5042f5ab6db07c05fd83058975 authored about 3 years ago
Improve srand entropy (and fix Sentinel failures) (#10197)

As Sentinel relies upon consensus algorithm, all sentinel instances,
randomize a time to initia...

52b2fbe9705739fd5f03099011f652775ab3285f authored about 3 years ago
Fix typo in function_load local variable (#10209)

Refs: https://github.com/redis/redis/pull/10141

4e17154060fc074a413255dfd65f4fa0305445e1 authored about 3 years ago
Set default channel permission to resetchannels for 7.0 (#10181)

For backwards compatibility in 6.x, channels default permission was set to `allchannels` however...

a43b6922d1e37d60acf63484b7057299c9bf584d authored about 3 years ago
Add key-specs notes (#10193)

Add optional `notes` to keyspecs.

Other changes:

1. Remove the "incomplete" flag from SORT...

eedec155acdd0ead3536edf6988e250a1a9fcb3e authored about 3 years ago
fix cluster rebalance test race (#10207)

Try to fix the rebalance cluster test that's failing with ASAN daily:

Looks like `redis-cli -...

be0d2933545354f4868f8e4807a11f8e79c03736 authored about 3 years ago
Fix some wrong commands arguments since (#10208)

ZADD NX and XX was introduced in 3.0.2, not 6.2.0
ZADD GT and LT was introduced in 6.2.0, not 3...

21135471a6bb25c4c895c26ae1afddad53e83f29 authored about 3 years ago
Fixed Sentinel support for hostnames (#10146)

Sentinel tries to resolve instances hostname to IP only during registration.
It might be that ...

79f089bdd92348d5fa3965258f539752f2eb8e78 authored about 3 years ago
Skip external server and codeql cron tests on forks (#10204)

keep the push triggers for all repos, but run the scheduled ones only on redis/redis

2d391e62bd5c80d75f50754bd5f05ef15a73fab7 authored about 3 years ago
doc improvement about acl first-arg (#10199)

We recently removed capabilities from the first-arg feature of ACL and added a warning.
but we ...

75a950cb9373e4bc6f2b0d926da0a094aaffbc8d authored about 3 years ago
commands arguments improvement about unix-time type (#10203)

Change the name to unix-time-seconds or unix-time-milliseconds
to be consistent. Change the typ...

93d951556be78e7a0b9fca40f0ebddb4e946ca27 authored about 3 years ago
Use object size then pointer size when malloc (#10201) (#10202)

By a happy coincidence, sizeof(sds *) is equal to sizeof(sds) here,
while it's logically consis...

76784e4ecea4317f99cb7f684bb4202ef09df69d authored about 3 years ago
Added missing documentation about the ACL GETUSER changes in acl-v2 (#10200)

7a89e498595541d43385c579ed679dc026b031e0 authored about 3 years ago
Update generate-command-help.rb and help.h. (#10196)

There are some inevitable changes between the old and new output, as a
result of the different ...

068190a8029a47b5ce10b5f7f2a208d1e99a6f00 authored about 3 years ago
Allow SET without GET arg on write-only ACL. Allow BITFIELD GET on read-only ACL (#10148)

SET is a R+W command, because it can also do `GET` on the data.
SET without GET is a write-only...

d6169258351e58ce1c0cfc01ba9c85e2a5b15ffb authored about 3 years ago
Solve race in a BGSAVE test (#10190)

This PR attempts to solve two problems that happen sometime in valgrind:
`ERR Background save a...

795ea011ba8674a9b5e05e79284f6f20a5d0cc03 authored about 3 years ago
solve race in expiration test (#10192)

Failed on a non-valgrind run. on this line:
```
assert_equal 0 [$slave exists k]
```
the con...

da48a81290be9c49889272bfcaf8b67544daf82b authored about 3 years ago
Reply for command args should be an array, not a set (#10188)

c79389f032bcc90a5958f887503124b6c86aee5f authored about 3 years ago
Fix unused variable warning in subcommand.c (#10184)

Forgot to handle it in #10135.

7fdcada67b9b4b92640bc599bcbe6e776847efc1 authored about 3 years ago
Change expression to look for at least one limit exceeded (#10173)

This is an attempt to fix some of the issues with the cluster mode tests we are seeing in the da...

f6b76e50adde73070a139a847191e1927fef9747 authored about 3 years ago
redis-cli: Aligned RESP3 maps with multiline value in TTY (#10170)

Before:

```
127.0.0.1:6379> command info get
1) 1) "get"
2) (integer) 2
3) 1~ re...

4491ee1805ea9044747af22a7abba9bac00c671a authored about 3 years ago
Added engine stats to FUNCTION STATS command. (#10179)

Added the following statistics (per engine) to FUNCTION STATS command:
* number of functions
*...

5a38ccc253ff98f714c62828739f5628fb8d5470 authored about 3 years ago
Fix commands.c build issue on merge (#10172)

Set commands.c's merge driver to binary so when it conflicts during a merge git will leave the l...

d26453a3f8d875ffd7c0546d9795715e71d81e9e authored about 3 years ago
Delete the residual code related to aof rewrite buf (#10176)

ac011ebd7f86431874a7537d94926b1aff937f2f authored about 3 years ago
Improve testing and update flags around commands without ACL keyspec flags (#10167)

This PR aims to improve the flags associated with some commands and adds various tests around
t...

823da54361b4da2769297b8749933e6f731d98f2 authored about 3 years ago
Correctly handle minimum arity checks in scripts (#10171)

Correctly handle variable arity checks in scripts

c275010fffe03ac83c5636ed464d7e57f7d96005 authored about 3 years ago
re-fix EVAL timeout test (#10169)

The edit i made to #10098 before merging was broken.
(INFO is forbidden in LOADING)

0343fe9fa5a359c97ec2116f8ea2d79fd7bfd6d4 authored about 3 years ago
Fix EVAL timeout test failed on freebsd (#10098)

* Refactor EVAL timeout test
* since the test used r config set appendonly yes which generates ...

fa600496482dcfdbf4b5af7c27b7a2eda02ac586 authored about 3 years ago
Fix outdated save key word in redis.conf (#10166)

For some complex data types, server.dirty actually counts
the number of elements that have been...

495ac8b79a4566abd05e201f06334cdd570258ef authored about 3 years ago
Support function flags in script EVAL via shebang header (#10126)

In #10025 we added a mechanism for flagging certain properties for Redis Functions.
This lead u...

7eadc5ee7062c6de00323c1b8a9598d1b5684217 authored about 3 years ago
Disable keyspec module API in 7.0 RC1 (#10135)

The keyspec API is not yet released and there is a plan to change it
in #10108, which is going ...

857dc5bacd85a9a4c31b7ef9eb350690ca0a85ad authored about 3 years ago
Fix AOFRW limit test occasional failures on slower machines (#10164)

6dc3f09cb9bc219ddf91c8ebfa6a7e1336663325 authored about 3 years ago
Fix flaky cluster tests in 24-links.tcl (#10157)

* Fix flaky cluster test "Disconnect link when send buffer limit reached"
* Fix flaky cluster t...

b40a9ba5fda9b28310964843831890144d8a77c2 authored about 3 years ago
Fix timing issue in sentinel CKQUORUM test (#10036)

A test failure was reported in Daily CI (test-centos7-tls).
`CKQUORUM detects failover authoriz...

7e5ded2ad0521600ceb57d71b0dbb19bbbc087b7 authored about 3 years ago
sub-command support for ACL CAT and COMMAND LIST. redisCommand always stores fullname (#10127)

Summary of changes:
1. Rename `redisCommand->name` to `redisCommand->declared_name`, it is a
...

23325c135f08365d1b7d4bf4fb1c9187fc7374b9 authored about 3 years ago
Improved handling of subcommands (don't allow ACL on first-arg of a sub-command) (#10147)

Recently we added extensive support for sub-commands in for redis 7.0,
this meant that the old ...

a6fd2a46d101d4df23ade2e28cbc04656c721b2b authored about 3 years ago
ACL V2 - Selectors and key based permissions (#9974)

* Implemented selectors which provide multiple different sets of permissions to users
* Impleme...

55c81f2cd3da82f9f570000875e006b9046ddef3 authored about 3 years ago
Add command tips to COMMAND DOCS (#10104)

Adding command tips (see https://redis.io/topics/command-tips) to commands.

Breaking changes:...

10bbeb68377bc2b20442e6578183dbc61fb57ec3 authored about 3 years ago
Added functions support to redis-check-rdb (#10154)

The PR added the missing verification for functions on redis-check-rdb.
The verification only v...

9c6029225060a52d433ce7e5707736080688fe80 authored about 3 years ago
Adding module api for processing commands during busy jobs and allow flagging the commands that should be handled at this status (#9963)

Some modules might perform a long-running logic in different stages of Redis lifetime, for examp...

c4b788230ca034761a0e9f6ca35b4aee4b15d340 authored about 3 years ago
Fix double key declaration for renamenx and change flag to INSERT (#10137)

* Fix double key declaration for renamenx
* Change the flag from UPDATE to INSERT, since it can...

22172a4aa648374d7076b179dab18de09f72fd52 authored about 3 years ago
Added AOF rewrite support for functions. (#10141)

Function PR was merged without AOF rw support because we thought this feature was going
to be r...

c556c57e5e8e348a28e4276f8ec2efed06b074d4 authored about 3 years ago
zmalloc_get_rss openbsd implementation (#10149)

Add support for getting the RSS in OpenBSD

834fa5870c6f1260cdf300dd5db4430fbf2db485 authored about 3 years ago
Fix fcall_ro key spec flags in commands.c (#10145)

In #10122, we modify the key spec flags to `RO` and `ACCESS`.
But forgot to call generate-comma...

3720de78c995812d5be5733e39f3854beeaf5757 authored about 3 years ago
Add sentinel config set test case (#10114)

68a8d0b46d08cf745bb29f1063fb579fa39581d6 authored about 3 years ago
Fix replica count check in migration tests. (#10140)

Tests were not using loop index as node id, checking replica count of the same node over and over.

72e1b5de4d0f0c05fcf838cd4943a4993f14dc54 authored about 3 years ago
Fix eventloop module test for valgrind (#10139)

was eating too much memory, and taking too long with valgrind

1af0a2c5aec1a85cc2ea71d577a2926842b6b23b authored about 3 years ago
New detailed key-spec flags (RO, RW, OW, RM, ACCESS, UPDATE, INSERT, DELETE) (#10122)

The new ACL key based permissions in #9974 require the key-specs (#8324) to have more
explicit ...

eef9c6b0ee17fe5a42cd16a812d43864868247af authored about 3 years ago
Use const char pointer in redismodule.h as far as possible (#10064)

When I used C++ to develop a redis module. i used `string.data()` as the second parameter `ele`...

d697daa7a5600ca82a0098bc7c857bc7167bb35e authored about 3 years ago
Add event loop support to the module API (#10001)

Modules can now register sockets/pipe to the Redis main thread event loop and do network operati...

99ab4236afb210dc118fad892210b9fbb369aa8e authored about 3 years ago
Fix additional AOF filename issues. (#10110)

This extends the previous fix (#10049) to address any form of
non-printable or whitespace chara...

25e6d4d4597d6ca06503d5fa76af0e4e1b57302e authored about 3 years ago
Fix `FUNCTION LOAD` ignores unknown parameter. (#10131)

Following discussion on: https://github.com/redis/redis/issues/9899#issuecomment-1014689385
Rai...

51f9bed3dd8d35a59e9124e49450c9795822dbf5 authored about 3 years ago
Set repl-diskless-sync to yes by default, add repl-diskless-sync-max-replicas (#10092)

1. enable diskless replication by default
2. add a new config named repl-diskless-sync-max-repl...

ae89958972ee720be2bff68231d6353553c2272a authored about 3 years ago
show subcommands latencystats (#10103)

since `info commandstats` already shows sub-commands, we should do the same in `info latencystat...

90916f16a5536bc833529d2e563d1094433de495 authored about 3 years ago
Fix timing issue in PSETEX/PEXPIRE sub-second expire tests (#10121)

These two tests have a high probability of failure
on MacOS. Or it takes many retries to succee...

26ef5132a6d8866639b9a2bfb27e631e51aa5c2f authored about 3 years ago
Use am instead of using server.aof_manifest directly to call getBaseAndIncrAppendOnlyFilesSize (#10123)

d7aeb2ce5f7c1ae8640fd24538393672600b7607 authored about 3 years ago
zmalloc_get_rss netbsd impl fix proposal. (#10116)

Seems like the previous implementation was broken (always returning 0)

since kinfo_proc2 is u...

50fa627b90cfcd322ed92c9ab3dc13ea87bc6b34 authored about 3 years ago
Fix quicklist node not being recompressed correctly after inserting a new node before or after it (#10120)

### Describe
Fix crash found by CI, Introduced by #9849.
When we do any operation on the quick...

32e7b46a17601be33ea687ad5bafc6f01fcb8891 authored about 3 years ago
checkTcpBacklogSettings check for solaris based systems. (#10109)

7da7d2aa8eb8f5e82bd6fae8f5dd1d83c9ead0a6 authored about 3 years ago
Fix typo in doc for PUBSUB command (#10117)

Replace "Pub/Sun" -> "Pub/Sub"

98414aca7f9ce62569e8c5e6cd2faab813080e8e authored about 3 years ago
Fix function no-cluster flag test (#10115)

Fixes cluster test introduced in #10066.
```
Function no-cluster flag: ERR Error registering f...

440d28091b73a87f74450942dcdd81161ca50bbe authored about 3 years ago
Function Flags support (no-writes, no-cluster, allow-state, allow-oom) (#10066)

# Redis Functions Flags

Following the discussion on #10025 Added Functions Flags support.
Th...

4db4b434175b519e2e5a78f2d33a7627c483c367 authored about 3 years ago
Fix typo in deps/README.md (#10113)

38a511672833037f83669f8f0dc681a7de30bfcb authored about 3 years ago
Fix kill aof rewrite child test (#10107)

The dbs doesn't have any keys, `rdb-key-save-delay`
config has no effect that cause the rewrite...

56a802057e90ea482702dbd5191bc397caf0f596 authored about 3 years ago
Added RM_MonotonicMicroseconds() API to provide monotonic time function (#10101)

Added RM_MonotonicMicroseconds(). Modules can use monotonic timestamp counter for measurements.

f41cc87088c502c3837567a563c44eb752f8c0d6 authored about 3 years ago
Always create base AOF file when redis start from empty. (#10102)

Force create a BASE file (use a foreground `rewriteAppendOnlyFile`) when redis starts from an
e...

e9bff7978a4e4b5cc7ab958715d1a6214dc68919 authored about 3 years ago
Show subcommand full name in error log / ACL LOG (#10105)

Use `getFullCommandName` to get the full name of the command.
It can also get the full name of ...

20c33fe6a8fce2edb3e4158bc10bde2c3740a25b authored about 3 years ago
Add script tests to cover keys with expiration time set (#10096)

This commit adds some tests that the test cases will
access the keys with expiration time set i...

e22146b07a8b5adc37e0153def1783406eb6d27c authored about 3 years ago
Reuse temporary client objects for blocked clients by module (#9940)

Added a pool for temporary client objects to reuse in module operations.
By reusing temporary c...

6790d848c5cf76ad5833d155fc4debc50b9ef2c4 authored about 3 years ago
Move doc metadata from COMMAND to COMMAND DOCS (#10056)

Syntax:
`COMMAND DOCS [<command name> ...]`

Background:
Apparently old version of hiredis (...

3204a03574475d1b852d839c197f07aaaf56b86d authored about 3 years ago
Module events: Fail RM_SubscribeToServerEvent if event is too new (#9987)

We must fail RM_SubscribeToServerEvent in case a module, that
was compiled with a new redismodu...

5009b43dc658b306014d1a4f58a7e31a454df281 authored about 3 years ago
LPOP/RPOP with count against non existing list return null array (#10095)

It used to return `$-1` in RESP2, now we will return `*-1`.
This is a bug in redis 6.2 when COU...

39feee8e3a6fee885aee60672a9dde0dfd08896c authored about 3 years ago
fix redis crached by using eval with access to volatile keys (#10080)

This is a recent regression from the Redis Functions commits

1e25bdf7808bb400f2dc552ec0d6690d1b340d23 authored about 3 years ago
Fix timing issue with cluster hostname test (#10086)

d0949b7c5ccab058b94de651e08589ed5c5219a9 authored about 3 years ago
Support whitespace characters in appendfilename, and ban them in appenddirname (#10049)

1. Ban whitespace characters in `appenddirname`
2. Handle the case where `appendfilename` co...

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

The following steps will crash redis-server:
```
[root]# cat crash
PSYNC replicationid -1
SL...

a1ae260e8addad04e1a73348c8f7bfeab398c2a9 authored about 3 years ago
update codes according to new json file (#7425)

readonly/readwrite only set client flags for slave in cluster mode,
so it should be ok for sett...

d7479107c742ac41cbe66480fa005c102abba588 authored about 3 years ago
Changed latency histogram output to omit trailing 0s and periods (#10075)

Changed latency percentile output to omit trailing 0s and periods

e8e02f900cbf0fbaae6eb53e52ce9c4cc8318b99 authored about 3 years ago
Fix crash when error [sub]command name contains | (#10082)

The following error commands will crash redis-server:
```
> get|
Error: Server closed the con...

a84c964d37a1899bf90c920efef85a1d7202d058 authored about 3 years ago
Fixes 'since' for GEORADIUS[BYMEMBER]_RO (#10034)

75c50a15633881bb2bf0455bdabcbbabc0e47044 authored about 3 years ago
Fixes typo for redis.conf (#10072)

Fixes typo for redis.conf

b9669829c8bc067f8a472c3dafe52e867965393c authored about 3 years ago
lpGetInteger returns int64_t, avoid overflow (#10068)

Fix #9410

Crucial for the ms and sequence deltas, but I changed all
calls, just in case (e.g...

7cd6a64d2fa23dc665aab205d3aee4b78a896f44 authored about 3 years ago
Build commands.c in Makefile (#10039)

With this rule, the script to generate commands.c from JSON runs whenever commands.o is built if...

e88f6acb94c77c9a5b81f0b2a8bd132b2a5c3d3c authored about 3 years ago
Redis Function Libraries (#10004)

# Redis Function Libraries

This PR implements Redis Functions Libraries as describe on: https...

885f6b5cebf80108a857cd50a4b84f5daf013e29 authored about 3 years ago
Set errno to EEXIST in redisFork() if child process exists (#10059)

Callers of redisFork() are logging `strerror(errno)` on failure.
`errno` is not set when there ...

568c2e039bac388003068cd8debb2f93619dd462 authored about 3 years ago
Added INFO LATENCYSTATS section: latency by percentile distribution/latency by cumulative distribution of latencies (#9462)

# Short description

The Redis extended latency stats track per command latencies and enables:...

5dd15443ac755d9ad2a22aa8c341b25d3de82eb4 authored about 3 years ago
Show the elapsed time of single test and speed up some tests (#10058)

Following #10038.

This PR introduces two changes.
1. Show the elapsed time of a single test ...

4d3c4cfac70557a28a62266543951d46d0cae584 authored about 3 years ago
Fix typos in aof.c / redis.conf (#10057)

9538088751bec5e53799c600167c24c878fb651f authored about 3 years ago
Fix typo in multi test (#10054)

d1b5b6387277d7c34e12f28f393b264084ce13b1 authored about 3 years ago
Add tests for blocking XREAD[GROUP] when the stream ran dry (#10035)

The purpose of this commit is to add some tests to
cover #5299, which was fixed in #5300 but wi...

b7f9e9ae39b59d1bc5b0c23c72db9798affc81e6 authored about 3 years ago
Stringify JSON key of --json option result (#10046)

About RESP3 an ordered collection of key-value pairs, keys and value can
be any other RESP3 typ...

8deb9a4f1e8f65969f4678035080ae3c380e82f9 authored about 3 years ago
`redis-cli --replica` reads dummy empty rdb instead of full snapshot (#10044)

This makes redis-cli --replica much faster and reduces COW/fork risks on server side.
This comm...

65a76357933de5a7d314d0944b56782fb05d3b6d authored about 3 years ago
Setup dependabot for github-actions and codespell (#9857)

This sets up dependabot to check weekly updates for pip and github-actions dependencies.
If it...

d5a3b3f5ec879ac596d70036551a3e716b52656d authored about 3 years ago
Print error messages in monitor/pubsub when errors occurs (#10050)

In monitor/pubsub mode, if the server closes the connection,
for example, use `CLIENT KILL`, re...

c57e41c029ba45b0ebb3fdd9474e202cdef92767 authored about 3 years ago
Fix C11_ATOMIC detection on GNU Make 4.3 (#10033)

Older version of GNU Make (<4.3) required quoting of number signs (#) to
avoid them being treat...

747b08bee0cc1e481b9bd08acb881bc5b9ab18d9 authored about 3 years ago