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 sentinel tests error (#8422)

This commit fixes sentinel announces hostnames test error in certain linux environment
Before t...

eacccd2acbbebde3e50e14a4d0ade5b1ccc2bc07 authored about 4 years ago
Enabled background and reply time tracking on blocked on keys/blocked on background work clients (#7491)

This commit enables tracking time of the background tasks and on replies,
opening the door for ...

f0c5052aa8de084f54b3eda7848f17b122907509 authored about 4 years ago
Add HRANDFIELD and ZRANDMEMBER. improvements to SRANDMEMBER (#8297)

New commands:
`HRANDFIELD [<count> [WITHVALUES]]`
`ZRANDMEMBER [<count> [WITHSCORES]]`
Algori...

b9a0500f16d0cd016398133cc7ac256ad927b679 authored about 4 years ago
AOF: recover from last write error after turn on appendonly again (#8030)

The key point is how to recover from last AOF write error, for example:

1. start redis with a...

49b36633324074edd3e06c334d23562edc49159d authored about 4 years ago
implement FAILOVER command (#8315)

Implement FAILOVER command, which coordinates failover
between the server and one of its replicas.

0d18a1e85fdb9967419dc9f7a5905452d065c84a authored about 4 years ago
Update CLIENT HELP regarding KILL options. (#8417)

* Indicate address can also be a unix socket path name.
* Document the LADDR option as well.

26301897d0f298446f6cc9c21e72484c4488ebe5 authored about 4 years ago
Add proc-title-template option. (#8397)

Make it possible to customize the process title, i.e. include custom
strings, immutable configu...

4bb5ccbefbde8dffe4597de3be9e4b6730857177 authored about 4 years ago
Modules: Add event for fork child birth and termination (#8289)

Useful to avoid doing background jobs that can cause excessive COW

01cbf17ba2c0cd8ef7cbb232c0173deaf346788f authored about 4 years ago
Redis exit for fsync error when the AOF fsync policy is 'always' (#8347)

With AOF policy of fsync "always", redis should respect the contract with the user
that on ackn...

a16739a3ac330b277d9e10c72af0d3b9176cc181 authored about 4 years ago
Add modules API for streams (#8288)

APIs added for these stream operations: add, delete, iterate and
trim (by ID or maxlength). The...

4355145a6268a6ae811a2bf39911966879512877 authored about 4 years ago
Add hostname support in Sentinel. (#8282)

This is both a bugfix and an enhancement.

Internally, Sentinel relies entirely on IP addresse...

bb7cd97439aa91698bee192cddd7ceb18d628a00 authored about 4 years ago
Add 'set-proc-title' config so that this mechanism can be disabled (#3623)

if option `set-proc-title' is no, then do nothing for proc title.

The reason has been explain...

17b34c73091968a5a37a267f69563c155efe8ce4 authored about 4 years ago
Avoid assertions when testing arm64 cow bug. (#8405)

At least in one case the arm64 cow kernel bug test triggers an assert, which is a problem becaus...

3a5049042ac06b6ed5e526f331d5378bf7c7b7ed authored about 4 years ago
GETEX, GETDEL and SET PXAT/EXAT (#8327)

This commit introduces two new command and two options for an existing command

GETEX <key> [P...

0367a80819dec9aeb5e3d0972535155fc1c48867 authored about 4 years ago
Fix bug in activeDefragSdsListAndDict dead code (#8403)

In activeDefragSdsListAndDict when dict_val_type is DEFRAG_SDS_DICT_VAL_VOID_PTR, it should upda...

f395119eded8294e80918331ebc4948eb5e5e006 authored about 4 years ago
Implement rdb-only replication (#8303)

In some scenarios, such as remote backup, we only want to get remote
redis server db snapshot. ...

ad7d4c6b709ce94ed9a2fa3a1fcf9b8cf7843eff authored about 4 years ago
Add tests for RESP3 responce of ZINTER and ZRANGE (#8391)

It was confusing as to why these don't return a map type.
the reason is that order matters, so ...

9e56d3969a3d19ef73d7042f91ba34bef39ed189 authored about 4 years ago
Sentinel: Fix Config Dependency and Rewrite Sequence (#8271)

This commit fixes a well known and an annoying issue in Sentinel mode.

Cause of this issue:
...

1aad55b66fac0f8b7a855cafc1ee80ef37a80414 authored about 4 years ago
Remove check leading to duplicate branches (#8398)

Remove check leading to duplicate branches and unused withscores parameter

70789cf4bb15c7d1552c2eff32edfe7b608589ee authored about 4 years ago
latency: add expire-del event (#8394)

951d25ff6625e0555038687699b9d9a15dd4e35d authored about 4 years ago
Fix rare test failures due to repl-ping-replica-period (#8393)

some tests use attach_to_replication_stream to watch what's propagated
to replicas, but in some...

437e2583848ff3fb85af166a381842aa19fe076a authored about 4 years ago
Fix recent test failures (#8386)

1. Valgrind leak in a recent change in a module api test
2. Increase treshold of a RESTORE TTL ...

f225891526ff621504c8985b6d80b374d341686f authored about 4 years ago
Test that module can wake up module blocked on non-empty list key (#8382)

BLPOP and other blocking list commands can only block on empty keys
and LPUSH only wakes up cli...

9c1483100a1d0a9160951852d70e632fced179fa authored about 4 years ago
Sentinel tests, disable FD leak check, and print more details (#8376)

* Print more details about fd leaks
* temporarily prevent the leaks from failing the tests

C...

8449a5df87017361000919d372b520a897c2de07 authored about 4 years ago
In dbOverwrite moduleNotifyKeyUnlink should use old val (#8381)

The module notification was using the wrong value.

0232778f35e949bb5e0b84f7cc63b230ddbd1c6d authored about 4 years ago
Fix anetCloexec for Sentinel TLS conns. (#8377)

The flag should be set before TLS negotiation begins to avoid a race
condition where a fork+exe...

f28fccd2db929e7034874cf795af0433d8deb467 authored about 4 years ago
Better error message const correctness. (#8348)

3f3cb9d09b815869764e74dd52af1994fed55fe6 authored about 4 years ago
change log for invalid cluster port (#8343)

Update log message to correctly indicate cluster port range

53cdf8a3d10285208e96980881dcac94314d8686 authored about 4 years ago
Fix typo in redis.conf doc (#8362)

Fix incorrect documentation about default save time

4f9de66f0eb50469767ed05a38c2eb091c9663e5 authored about 4 years ago
CONFIG REWRITE should honor umask settings. (#8371)

Fixes a regression introduced due to a new (safer) way of rewriting configuration files. In the ...

b548ffabbecca073e241882c22192f682a086242 authored about 4 years ago
Add CI for FreeBSD (#8292)

Co-authored-by: Oran Agra <[email protected]>

ac5f21d613bf4a4883e767389ac5651a4118a5af authored about 4 years ago
Fix misleading module test (#8366)

the test was misleading because the module would actually woke up on a wrong type and
re-blocke...

5a77d015bed9734064c6572d5425971e9d697c53 authored about 4 years ago
Fix firstkey,lastkey,step in COMMAND command for some commands (#8367)

The output for COMMAND command was wrong for some commands.
clients can use firstkey,lastkey,st...

baf92f3f1c15cf188fafaf802202da1c54caa709 authored about 4 years ago
More modules API ref formatting fixes (#8344)

Fix broken formatting in `RM_Call` and `RM_CreateDataType`,
`RM_SubscribeToServerEvent` (nested...

16258f21d1d0e84e0cc4b5b0f93c78be6384658d authored about 4 years ago
Fix sentinel FD leak test, checking the wrong OS name (#8364)

6401920d705aedbfc43409f27c8d8e89bfb0e756 authored about 4 years ago
Fix sentinel FD leak test, not printing the list of leaks (#8363)

1be29606c56bc747a66c99d6cf31110df51b65b4 authored about 4 years ago
Use FD_CLOEXEC in Sentinel, so that FDs don't leak to the scripts it runs (#8242)

Sentinel uses execve to run scripts, so it needs to use FD_CLOEXEC
on all file descriptors, so ...

fb66e2e24943018961321d13e46ee2ab66de882a authored about 4 years ago
Fix description of the save conf directive (#8337)

The line that said:

Note: you can disable saving completely by commenting out all "save" line...

aaf71b380ed5ef8d5d63f8a60733c35202c5b838 authored about 4 years ago
Add tests to make sure that relative EXPIRE is propagated to replicas (#8357)

This commit adds tests to make sure that relative and absolute expire commands
are propagated a...

a29aec9abb8b4ffd030be9e4c8875ddd8ec1357c authored about 4 years ago
Removing unnecessary runtime tio_debug checks (#8250)

These statements were dead code.

d42ea9e88ac5a9cc03e69be905bae81e88327d35 authored about 4 years ago
Bugfix: Make modules blocked on keys unblock on commands like LPUSH (#8356)

This was a regression from #7625 (only in 6.2 RC2).

This makes it possible again to implement...

4985c11bd6ef67a8eb58716f6c2b6b3d96e8538e authored about 4 years ago
Add a precheck before the actual call to fcntl (#8360)

Don't bother to call fcntl if the flags are not gonna be changed.

5198b513d3001fb6399823909cac90ef8c3381e8 authored about 4 years ago
Update getTimeZone to long (#8346)

366a16ff0585fbc60df630b9ae238cfedeaaf81a authored about 4 years ago
Add io-thread daily CI tests. (#8232)

This adds basic coverage to IO threads by running the cluster and few selected Redis test suite ...

522d93607a46e28b035c675fe066778c453e84ba authored about 4 years ago
[Sentinel] more specific config errors for duplicate known-replica and known-sentinel (#8332)

Previously invalid configuration errors were not very specific and in some cases hard to underst...

f5cf1e46a4812f0616f0ce763417b8c84f035493 authored about 4 years ago
Add lazyfree-lazy-user-flush config to control default behavior of FLUSH[ALL|DB], SCRIPT FLUSH (#8258)

* Adds ASYNC and SYNC arguments to SCRIPT FLUSH
* Adds SYNC argument to FLUSHDB and FLUSHALL
*...

294f93af97a6964c28f8d9cabbccc5da8950f9b0 authored about 4 years ago
Modules API reference formatting fixes

Fixes markdown formatting errors and some functions not showing
up in the generated documentatio...

ebf20b83b2cfcaf326f037a8274848662a3a9603 authored about 4 years ago
Rename non-API RM-prefixed functions to hide them from API docs

The prefix is changed from `RM_` to `module` on the following
internal functions, to prevent the...

fcb3dfe56d3e2e0732c6787fe11789252eaf9ba2 authored about 4 years ago
Replace many calling zrealloc to one zmalloc in sentinelResetMasterAndChangeAddress (#8319)

Replace many calling zrealloc to one zmalloc in sentinelResetMasterAndChangeAddress

108afbc0bbde9153e4cb08bf50a724c4feb9626e authored about 4 years ago
Optimize performance of clusterGenNodesDescription for large clusters (#8182)

Optimize the performance of clusterGenNodesDescription by only checking slot ownership of each s...

9cb9f98d2f0d9114ac4528b2f9434a2fd2edfd60 authored about 4 years ago
remove some unnecessary checks (#7431)

Remove several checks that always evaluate to true.

f5577fdbd8898112427e5807edf102f9fcd9da33 authored about 4 years ago
Fix use of lookupKeyRead and lookupKeyWrite in zrangeGenericCommand, zunionInterDiffGenericCommand (#8316)

* Change zunionInterDiffGenericCommand to use lookupKeyRead if dstkey is null
* Change zrangeGe...

8a81ed1b5ab204fd33651bf448cd5e1230631fb7 authored about 4 years ago
Fix units in log message of copy-on-write (#8320)

593cde16bcac64fb52a36500377574e981c580f6 authored about 4 years ago
fix race in cluster transactions test (#8312)

we didn't wait for the commands executed on the master to reach the replica.

4f8458d8d6c59a47c6ffbb1ac88c69854ccf1592 authored about 4 years ago
Fix issues in wait test (#8310)

This fixes three issues:
1. Using debug SLEEP was impacting the subsequent test, and causing i...

b24b49039348f7570a3e5e3673384080c093060d authored about 4 years ago
Fix cluster diskless load swapdb test (#8308)

The test was trying to wait for the replica to start loading the rdb
from the master before it ...

264953871b97bcc3d663cd006578c151a13b48ca authored about 4 years ago
Fix overflow of rdbWriteRaw return value (#8306)

Saving string of more than 2GB to the RDB file, can result in corrupt RDB, or failure in rdbSave...

542455ce2afbaffc065afbfdf6578399b8faecda authored about 4 years ago
Assert that clusterAddNode can't fail (#8296)

Assert that clusterAddNode can't fail

fe2fdef7b0b65c86eb3cc2685cf0c4efe5007b1c authored about 4 years ago
CLIENT PAUSE - don't drop together with other blocked clients (#8302)

When the server state changes and blocked clients are being dropped, the
paused clients should ...

430dadaf834e6de066006d5bf700d2daa70987ca authored about 4 years ago
Fix compile warning when define REDIS_TEST (#8261)

Co-authored-by: Oran Agra <[email protected]>

36f1dea5e19982fac81d44de5bb0a4febe456b06 authored about 4 years ago
Fix last COW INFO report, Skip test on non-linux platforms (#8301)

- the last COW report wasn't always read from the pipe
(receiveLastChildInfo wasn't used)
- ...

8dd16caec833aebde3a12c7d7f9b6456554c8616 authored about 4 years ago
GEOSEARCH - ANY option, for limited search that returns ASAP (#8259)

Support ANY option to return some results that match the criteria ASAP,
without a complete sear...

ea5350c5ecb08d8915bd59b2dc98982454adc9f7 authored about 4 years ago
XADD and XTRIM, Trim by MINID, and new LIMIT argument (#8169)

This PR adds another trimming strategy to XADD and XTRIM named MINID
(complements the existing ...

814aad65f16ed27cb68c4177e4f8b61d7edb31e1 authored about 4 years ago
Skip defrag tests on systems with bigger page sizes (#8294)

The defragger works well on these systems, but the tests and their
thresholds are not adjusted ...

5843a45d01f76c55288abe00c29931a2520fe521 authored about 4 years ago
Throw error for conflicting bcast tracking prefixes (#8176)

Throw an error if there are conflicting bcast tracking prefixes.

999494cef8247e660f079dd8ae884109444c8345 authored about 4 years ago
Add support for client pause WRITE (#8170)

Implementation of client pause WRITE and client unpause

47579bdf5cccfbac1cf2b6e7e52218c5b9faed86 authored about 4 years ago
Add check for the MADV_FREE/fork arm64 Linux kernel bug (#8224)

Older arm64 Linux kernels have a bug that could lead to data corruption during
background save ...

b02780c41dbc5b28d265b5cf141c03c1a7383ef9 authored about 4 years ago
Refactory fork child related infra, Unify child pid

This is a refactory commit, isn't suppose to have any actual impact.
it does the following:
- ke...

f9dacf8aacc8af7fdcb41bc9f927b42390557f7d authored about 4 years ago
Report child copy-on-write info continuously

Add INFO field, rdb_active_cow_size, to report COW of a live fork child while
it's active.
- onc...

ea930a352ca748c0fa49a1b2ee894ea92bc83b0e authored about 4 years ago
Add ZRANGESTORE command, and improve ZSTORE command (#7844)

Add ZRANGESTORE command, and improve ZSTORE command to deprecated Z[REV]RANGE[BYSCORE|BYLEX].

...

b5029dfdadb387ba8a3b8517ec4a7117bf4070f4 authored about 4 years ago
fix memory leak in processInlineBuffer error handling code (#8295)

This code path is normally executed only when v6.0 and above replicates from v2.4

cfcd0fa6f71af4e224c1d86be55b6b01f2288be2 authored about 4 years ago
Add XAUTOCLAIM (#7973)

New command: XAUTOCLAIM <key> <group> <consumer> <min-idle-time> <start> [COUNT <count>] [JUSTID...

714e103ac317bfa179b0a132c0f78d4ddc84a435 authored about 4 years ago
sdscatfmt call sdsMakeRoomFor, asked for more space than intended (#8286)

instead of asking for the extra new space it wanted, it asked to grow the
string by the size it...

595ecd5f4be39eeec71fb07f687b2d6b7cf5c20c authored about 4 years ago
Fix rdb checksum / crc64 on bigendian (#8270)

Turns out the RDB checksum in Redis 6.0 on bigendian is broken.
It always returned 0, so the RD...

324070c8f6f63240629893c2ce9bcbeecf6e77fb authored about 4 years ago
Fix wrong order of key/value in Lua map response (#8266)

When a Lua script returns a map to redis (a feature which was added in
redis 6 together with RE...

2017407b4d1d19a91af1e7c0b199f2c1775dbaf9 authored about 4 years ago
remove unused call to zmalloc_size in defrag.c (#8285)

df9c213bb0b90c57867d25d272729d8492244582 authored about 4 years ago
HELP subcommand, continued (#5531)

* man-like consistent long formatting
* Uppercases commands, subcommands and options
* Adds 'H...

9dcdc7e79a25968fcdfde09c7ca72a2012a1febf authored about 4 years ago
Swapdb should make transaction fail if there is any client watching keys (#8239)

This PR not only fixes the problem that swapdb does not make the
transaction fail, but also opt...

10f94b0ab12f9315939dcccf39d64b9388c0c7fa authored about 4 years ago
Fix assertion on loading AOF with timed out script. (#8284)

If AOF file contains a long Lua script that timed out, then the `evalCommand` calls
`blockingOp...

ecd53518700f5b2be19c18e7a19f87c9f25a7ff5 authored about 4 years ago
sort Command lookupKeyRead and lookupKeyWrite are used on the opposite (#8283)

This is a recent problem, introduced by 7471743 (redis 6.0)

The implications are:
The sole d...

08ad6abd04c5aafe5471fa754000e512ae6b0f05 authored about 4 years ago
GEOADD - add [CH] [NX|XX] options (#8227)

New command flags similar to what SADD already has.

Co-authored-by: huangwei03 <huangwei03@ku...

33fb6170531435b891faf0ed7b21a95ac65dd0a1 authored about 4 years ago
Fix uninitialized variable in new errorstats commit (#8280)

91690a29202b8ff3fbc9305273463fd5a575e572 authored about 4 years ago
Fix rare assertion as a result of: active defrag while loading (#8281)

In #7726 (part of 6.2), we added a mechanism for whileBlockedCron, this
mechanism has an assert...

7896debe6c16ec212c2b8ce169227988ccd9a2d8 authored about 4 years ago
fix crash in redis-cli after making cluster backup (#8267)

getRDB is "designed" to work in two modes: one for redis-cli --rdb and
one for redis-cli --clus...

41b2ed2bbc0671e43101feecc48cac26a5e312cb authored about 4 years ago
Fix leak in new errorstats commit, and a flaky test (#8278)

71fbe6e800a10dabc81b1aec96bcca3b74af7bf4 authored about 4 years ago
Crash log would crash half way on commands with no arguments (#8260)

The crash log attempts to print the current client info, and when it
does that it attempts to c...

152b5d46c4a76f2d16031ef794092bfc8d322f8a authored about 4 years ago
Add errorstats info section, Add failed_calls and rejected_calls to commandstats (#8217)

This Commit pushes forward the observability on overall error statistics and command statistics ...

90b9f08e5d1657e7bfffe43f31f6663bf469ee75 authored about 4 years ago
Merge pushGenericCommand and pushxGenericCommand (#8255)

Merge pushGenericCommand and pushxGenericCommand to remove redundancy and simplify code.

1f5a73a530915f6f6326047effc796218af22cf6 authored about 4 years ago
Fix memory leaks in error replies due to recent change (#8249)

Recently efaf09ee4 started using addReplyErrorSds in place of
addReplySds the later takes owner...

049cf8cdf4e9e0abecf137dc1e3362089439f414 authored about 4 years ago
Make the protocol-version argument of HELLO optional (#7377)

19d4705ffd0bac319d0af9d82e130756039f3329 authored about 4 years ago
Tracking: add CLIENT TRACKINGINFO subcommand (#7309)

Add CLIENT TRACKINGINFO subcommand

Co-authored-by: Oran Agra <[email protected]>

299f9ebffa5d0a79245a6e989cde775daf30d6a8 authored about 4 years ago
Adds count to L/RPOP (#8179)

Adds: `L/RPOP <key> [count]`

Implements no. 2 of the following strategies:

1. Loop on list...

f44186e5755e943f39c1446ad9576ab97de5039d authored about 4 years ago
Use addReplyErrorObject with shared.syntaxerror (#8248)

e18068d9d83e6c7298b5501ffabfdb7709984fc0 authored about 4 years ago
fix the format

Signed-off-by: xhe <[email protected]>

e6c1aeaf08b14076ccdf26aaef65b76b1597ee77 authored about 4 years ago
reword

Co-authored-by: Itamar Haber <[email protected]>

fae5ceef2ab65797af7d7778143efb8e4d598301 authored about 4 years ago
resolve hung test.

4617960863c2baf3545ca74009b03358fa2363e1 authored about 4 years ago
address comment

Signed-off-by: xhe <[email protected]>

78eaf503fdbafe94d1905301ba47294326b278e4 authored about 4 years ago
reword

Signed-off-by: xhe <[email protected]>

f6711b7da5445f3e4ba3595c9c0153183184078e authored about 4 years ago
ask protover for authentication

Signed-off-by: xhe <[email protected]>

955e00fbec2bf9cb2dbe53fceef00941681bfbd4 authored about 4 years ago
correction

Co-authored-by: Oran Agra <[email protected]>

4e36925c662bba9c83661caa166d4699bcbef17c authored about 4 years ago