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

Add run all test support with define REDIS_TEST (#8570)

1. Add `redis-server test all` support to run all tests.
2. Add redis test to daily ci.
3. Add...

95d6297db868fc5400fb833c6753c8d25da486c7 authored almost 4 years ago
remove redundant check for evalCommand (#8565)

53774e69fa68450859a566e84f06d4b8a7a53eca authored almost 4 years ago
Clean redis-benchmark multi-threaded output (#8615)

1ccfd6a1f79aee9e601092b2b0e6e1c68901deaf authored almost 4 years ago
Run daily workflows only on redis/redis repo. (#8625)

Co-authored-by: Harkrishn Patro <[email protected]>

25f8d4fb4180f0eb893b1ea0e6ba973bab77b0f5 authored almost 4 years ago
Fix memory info on FreeBSD. (#8620)

The obtained process_rss was incorrect (the OS reports pages, not
bytes), resulting with many o...

af2175326c87231d16c5633dd8febbc86a258540 authored almost 4 years ago
__quicklistCompress may compress more node than required (#8311)

When a quicklist has quicklist->compress * 2 nodes, then call
__quicklistCompress, all nodes wi...

9b4edfdf08a99adda0b6da5b1434d14884d6419b authored almost 4 years ago
Fix test false positive due to a race condition. (#8616)

817894c012ee67cdf8e33e0a098025f65521ba42 authored almost 4 years ago
Fix flaky unit/maxmemory test on MacOS/BSD. (#8619)

It seems like non-Linux sockets may be less greedy, resulting with more
transient client output...

7d81f39222360cf537f86f7c35111fbe53287885 authored almost 4 years ago
Fix edge-case when a module client is unblocked (#8618)

Scenario:
1. A module client is blocked on keys with a timeout
2. Shortly before the timeout e...

e58118cda6cacb5a845a9cf8eda45074470e31b2 authored almost 4 years ago
Wrong usage sdscatprintf in redis-cli. (#8604)

The result of `sdscatprintf` is doubled when using argument twice.

20377a6f3d7e5159df22b91555f70292e3b39f04 authored almost 4 years ago
Cleanup: dictEncObjHash remove redundant conditional statement (#8488)

f491eee2a1ef44b0b62380ee07f873e0c22be5e0 authored almost 4 years ago
Fix FreeBSD <12.x builds. (#8603)

e8e6ca630934ff2fa5581aced1dc0dad110d8b40 authored almost 4 years ago
Remove some dead code (#8605)

367ba4125fa08440f1e33799ccf2fedfe88129aa authored almost 4 years ago
Fix typo in sentinel.c (#8600)

3d9c6a7ce60f58ca087cbd533d9b769a8a455309 authored almost 4 years ago
remove unused latency variable (#8597)

Remove unused latency variable from redis-cli

55c74617d754ee3b3112fa5146aeba425ac53db8 authored almost 4 years ago
Improve redis-cli non-binary safe string handling. (#8566)

* The `redis-cli --scan` output should honor output mode (set explicitly or implicitly), and quo...

3c7d6a185329f2dc20c82a29bdbe125d5ad4140b authored almost 4 years ago
Fix memory overlap in quicklistRotate (#8599)

When the length of the quicklist is 1(only one zipmap), the rotate operation will cause
memory ...

f07b7393a0f4b1348342c02849b4c389ac45372e authored almost 4 years ago
Fix RedisModule_IsAOFClient Redis Module API (#8596)

Since the API declared (as #define) in redismodule.h and uses
the CLIENT_ID_AOF that declared i...

ac91822952c512f6881d79fdbf2106e609f5cb0e authored almost 4 years ago
Improve SSL cleanup handling. (#8589)

This solves the problem of /dev/random and /dev/urandom open file
descriptors leaking to childs...

ea1b48bd12d4cbd6634e5a478da99c6a1f14be8e authored almost 4 years ago
Fix client_recent_max_input/output_buffer in 'INFO CLIENTS' when all clients drop. (#8588)

When no connected clients variables stopped being updated instead of being zeroed over time.

...

fba391ae66a6527ca5dba9025b6fb57c35dd65d9 authored almost 4 years ago
generalize error check for SENTINEL MONITOR rumtime config (#8590)

257009afff0ca9b299bd6e70ed439bab9186be56 authored almost 4 years ago
Fix potential replication-4 test race condition. (#8583)

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

5d180d28349b36a177f9d70edb12bb27e88e8c61 authored almost 4 years ago
Fix errors when loading RDB with missing modules. (#8579)

Fixes #8574

0bad00d0499d79c6367f340e7dfc641071f002b8 authored almost 4 years ago
fix new networking tests to work when the test suite is used in tls mode (#8582)

the tests were unable to connect to the server since the attempted to use normal tcp

c19530bc71760ce45ac1404272c13553a061fcb8 authored almost 4 years ago
fix stream deep sanitization with deleted records (#8568)

When sanitizing the stream listpack, we need to count the deleted records too.
otherwise the la...

349ef3f6a0c6a1e351caabcc5ec57c8e49a0f4c8 authored almost 4 years ago
Make port, tls-port and bind configurations modifiable (#8510)

Add ability to modify port, tls-port and bind configurations by CONFIG SET command.

To simpli...

a031d268b127d67969e9a4ec6b728dbb321ea0ce authored almost 4 years ago
fix: call CLIENT INFO from redis module will crash the server (#8560)

Because when the RM_Call is invoked. It will create a faker client.
The point is client connect...

81a55d026ffe6614f78e4042921713112593457c authored almost 4 years ago
Fix compliation on arm64 Mac with jemalloc (#8458)

The arm_thread_state64_get_pc used later in the file is defined
in mach kernel headers. Apparen...

1bf02e1ca9bdb95bb37d806800c356ef13afd001 authored almost 4 years ago
Make dbid range check for SWAPDB command consistent with SELECT, MOVE, and COPY. (#8555)

DB ID used to be parsed as a long for SWAPDB command, now
make it into an int to be consistent ...

a66814fd7ac2b37cefb43f2ec03dd8684ebcccf2 authored almost 4 years ago
Fix div by 0 in redis-cli cluster creation (#8553)

This could happen on an invalid use, when trying to create a cluster with
a single node and pro...

18ff8cd1fbe0d4c4bc6d090ef58a513ecb9767da authored almost 4 years ago
Module API for getting user name of a client (#8508)

Adding RM_GetClientUserNameById to get the ACL user name of a client connection.

17c226b070ef4ecdbcc5b4b5b0afe571f0f1a948 authored almost 4 years ago
Shared reusable client for RM_Call() (#8516)

A single client pointer is added in the server struct. This is
initialized by the first RM_Call...

6122f1c450846584eedf614551de0c97da305b45 authored almost 4 years ago
Moved requirepass and querybuf length to generic configs (#8557)

Moved additional configs to generic infrastructure.

4a474843fbd018cd323971b57dec976d7ad0278d authored almost 4 years ago
redis-cli prompt: fix db number and transaction state inconsistencies after reconnect (#8551)

After reconnect, the prompt was showing the db ID and multi state of the previous connection.

7d43159a7dab7d8e85709dfdfc74cb589db3cc70 authored almost 4 years ago
Cleanup usage of malloc_usable_size. (#8554)

* Add better control of malloc_usable_size() usage.
* Use malloc_usable_size on alpine libc dai...

3ea4c43add4f6038830ae0a6e42821481f7ce9a0 authored almost 4 years ago
Allow stopped redis processes to be killed in tests (#8552)

c6f0ea2c81ffd5452dc6373d79786fdec8874b20 authored almost 4 years ago
Use addReplyErrorObject with shared.noscripterr (#8544)

60d5ef4d828bc8732ac1d4c274471655a13d667d authored almost 4 years ago
XTRIM: Parse args before lookupKey (#8550)

This aligns better with other commands, specifically XADD

21316d57090768fe2d5ff3dd5edcb328137aaaca authored almost 4 years ago
XTRIM should take at least 4 args (#8549)

Fix command arity.
Other than key name it must at least take the trimming strategy and it's limit

aba61d9ebde0c2d7803c3f395cdb175422b8d6e8 authored almost 4 years ago
Fix quicklistDelRange dead code, delete range wrong (#8257)

This commit fixes a bug in what's currently dead code in redis.

In quicklistDelRange when del...

965356ae63487dafeec378d1821201800b91307e authored almost 4 years ago
Cleanup clang warnings. (#8546)

d1b5767a82889cfcd9c691131512262827059793 authored almost 4 years ago
Use malloc_usable_size() on FreeBSD. (#8545)

ae7d5bf6172e4597a859605268dd960c198ed935 authored almost 4 years ago
In luaRedisGenericCommand check channel return is ACL_DENIED_CHANNEL (#8535)

not ACL_DENIED_AUTH

e3667cb908f70d3ffb04a3d5b095f91f9cc7ee97 authored almost 4 years ago
Fix race in CONFIG REWRITE sanity (#8536)

server may still be LOADING the RDB when receiving the ping

f745c0181a827927b220caafe6ccd9a5291907f3 authored almost 4 years ago
Fix compile errors with no HAVE_MALLOC_SIZE. (#8533)

Also adds a new daily CI test, relying on the fact that we don't use malloc_size() on alpine lib...

dd885780d67f18f356a5652ab6d4f947ee035305 authored almost 4 years ago
Fix failed tests on Linux Alpine and add a CI job. (#8532)

* Remove linux/version.h dependency.

This introduces unnecessary dependencies, and generally ...

95ea74549cc454d6d6a7462b366462589cd96712 authored almost 4 years ago
update help.h from redis.io commands.json (#8524)

8e83bcd2acb18370e2d6cea3718339792322e80f authored almost 4 years ago
Fix integer overflow (CVE-2021-21309). (#8522)

On 32-bit systems, setting the proto-max-bulk-len config parameter to a high value may result wi...

d32f2e9999ce003bad0bd2c3bca29f64dcce4433 authored almost 4 years ago
Remove acl subcommand validation if fully added command exists. (#8483)

This validation was only done for sub-commands and not for commands.

These would have been va...

4739131ca6c966592dce739b9330a989eb6b6b2e authored almost 4 years ago
In XADD take deleted items into consideration when switch to new node (#8390)

If we set stream-node-max-bytes = 0, then we insert entry then delete,
do this many times, the ...

b164c4dec32a71e74c7ca510a7ab8c6423d30eb4 authored almost 4 years ago
SRANDMEMBER RESP3 return should be Array, not Set (#8504)

SRANDMEMBER with negative count (non unique) can return the same member
multiple times, and the...

f5235b2d7660b163c739325ec9284f97d5b963be authored almost 4 years ago
Improve overflow check of expire time (#8519)

When milliseconds == LLONG_MAX / 1000, *1000 will not overflow.

362f2a84bd67a1b65d810b064163e8432c79138e authored almost 4 years ago
Fix allowed length for REPLCONF ip-address. (#8517)

Originally this was limited to IPv6 address length, but effectively it
has been used for host n...

d828f90c26bf796cb54d6622389e5c14fcc9cbf0 authored almost 4 years ago
Client tracking tracking-redir-broken push len is 2 not 3 (#8456)

When redis responds with tracking-redir-broken push message (RESP3),
it was responding with a b...

f687ac0c32e3857aff56ddc4711be18dd87c336c authored almost 4 years ago
EXPIRE, EXPIREAT, SETEX, GETEX: Return error when expire time overflows (#8287)

Respond with error if expire time overflows from positive to negative of vice versa.

* `SETEX...

0772098b1b8587266e3a459d9b1225e6e5d4ce58 authored almost 4 years ago
dict: pause rehash, minor readability refactor (#8515)

The `dict` field `iterators` is misleading and incorrect.
This variable is used for 1 purpose ...

06966d2a0e6a2087e4f70265e0f03fa8e1d1b94b authored almost 4 years ago
Fix timing error oom-score-adj test (#8513)

fixes timing issue, fork didn't always get to set the oom score before the test verified it.

46346e9e3a30d0d3c52dd21a2ce93898005c7ad9 authored almost 4 years ago
Remove redundant pubsub list to store the patterns. (#8472)

Remove redundant pubsub list to store the patterns.

303465af35c13691f989b3400b028a94df1235d4 authored about 4 years ago
solve valgrind warning in child_info (#8505)

Valgrind warns about `write` accessing uninitialized memory, which was the struct padding.

71ab81ec69f04c218820b4c9151cb9f7c1bd833b authored about 4 years ago
Optimize listpack for stream usage to avoid repeated reallocs (#6281)

Avoid repeated reallocs growing the listpack while entries are being added.
This is done by pre...

aab479f8cfaa4493f5618ba05cfec0e2b406e77c authored about 4 years ago
Adds INFO fields to track fork child progress (#8414)

* Adding current_save_keys_total and current_save_keys_processed info fields.
Present in repl...

fd052d2a86b1a9ace29abf2868785f0b4621b715 authored about 4 years ago
Use stack for decoding integer-encoded values in list push

Less heap allocations when commands like LMOVE push integer values.

683e530cf3c3e71266b8d18073fd026da9de4ddb authored about 4 years ago
Add ziplistReplace, in-place optimized for elements of same size

Avoids memmove and reallocs when replacing a ziplist element of the
same encoded size as the new...

acb32d472da72a36dc73eca5fef1df71cffdc328 authored about 4 years ago
Avoid useless copying in LINDEX command for reply

f521498b43a8edcec01c88dc7361eaac460f2f6c authored about 4 years ago
minor test suite cleanup, revive old test (#8497)

There are two tests in other.tcl that were dependant of the sha1 package
import which meant tha...

fb3457d157a1b79665891d2a2bfc997e47978a94 authored about 4 years ago
Fix incorrect shared ping length. (#8498)

b1929bb2b6145e28335ed988589caacf57087171 authored about 4 years ago
Escape unsafe field name characters in INFO. (#8492)

Fixes #8489

141ac8df59c1d77e2f2a10792ff34b26eb13bcf0 authored about 4 years ago
solve race in replication-2 test - again (#8491)

this should make it timing independent and also faster in most cases

30775bc3e3a919e6a168523e772551332738e9f3 authored about 4 years ago
Modules: In RM_HashSet, add COUNT_ALL flag and set errno (#8446)

The added flag affects the return value of RM_HashSet() to include
the number of inserted field...

0bc8c9c8f975f326c2ce87a0759b8b65b94a4120 authored about 4 years ago
redis-benchmark: Fix broken protocol when used with -a or --dbnum (#8486)

Fix the pointers to the slot hash tags in the case of prefixed commands usage
i.e. AUTH / SELEC...

efccd6353bacec9addc7278292fd8c3108d116e4 authored about 4 years ago
Fix errors with sentinel leaked fds test. (#8482)

* Don't run test script on non-Linux.
* Verify that reported fds do indeed exist also in parent...

8c42d1257f8b6d7a1a8f30e37eef9b55785b2426 authored about 4 years ago
Fix duplicate replicas issue. (#8481)

We need to store replicas referenced by their announced address (IP or
address). Before that, i...

94bc26e65277a327cefa464e812c7efc5c78d0a2 authored about 4 years ago
Fix Sentinel configuration rewrite. (#8480)

The `resolve-hostnames` and `announce-hostnames` parameters were not
specified correctly accord...

29ac9aea5de2f395960834b262b3d94f9efedbd8 authored about 4 years ago
Removed time sensitive checks from block on background tests. Fixed uninitialized variable (#8479)

- removes time sensitive checks from block on background tests during leak checks.
- fix uninit...

b5ca1e9e53de93bb84e5b03de39cbaf8093fcd41 authored about 4 years ago
Moved most static strings into the shared structure (#8411)

Moved most static strings into the shared structure

899c85ae67631f4f9f866a254ac5e149b86e5529 authored about 4 years ago
Adds code of conduct (#8471)

4554a49d32c5c0921f251262f2fbe02d7ac64b59 authored about 4 years ago
Cleanup in redis-cli and tests: release memory on exit, change dup test name (#8475)

1. Rename 18-cluster-nodes-slots.tcl to 19-cluster-nodes-slots.tcl.
it was conflicting with a...

203f357c32f82b0e10c3e55721fccd07bc2bed39 authored about 4 years ago
Fix typo and some out of date comments (#8449)

Fix typo and some out of date comments

8f9958dc24fa5992d3d10f6b9caf999e1beee4e5 authored about 4 years ago
Fix and cleanup Sentinel leaked fds test. (#8469)

* For consistency, use tclsh for the script as well
* Ignore leaked fds that originate from gra...

dbcc0a85d070f94f5c524a4bbdd3e492c32e845b authored about 4 years ago
[fix] Increasing block on background timeout time to avoid test failure (#8470)

The test failed from time to time on Github actions.
We think it's possible that on the module'...

b2351ea0dc9f60e7987dc6db4c1ef09d70003a9e authored about 4 years ago
Fix random probability check in ziplistRandomPairsUnique (#8467)

When (remaining == (total_size - index)), element will definitely be random to.
But when rand()...

1f12be30723abf6487e65557be501e54a0ed8463 authored about 4 years ago
Fix typos in comments (#8466)

88272cf7ac926eb0be74d6ec6f0d0ba0afaa7102 authored about 4 years ago
Optimize HRANDFIELD and ZRANDMEMBER case 4 when ziplist encoded (#8444)

It is inefficient to repeatedly pick a single random element from a
ziplist.
For CASE4, which ...

62b1f32062b8f688179a8262959a5b80d0ad4de7 authored about 4 years ago
solve race in replication-2 test (#8461)

use SIGSTOP instead of DEBUG SLEEP, reduces the test
time by some 2 seconds and avoids failures...

02ab14cc2e4f4981001b90fe3bb84cab1964d3ea authored about 4 years ago
Update CI on Ubuntu to tcl8.6 (since 20.04 is now used) (#8460)

Github started shifting some repositoreis to use ubuntu 20.04 by default
tcl8.5 is missing in t...

018f7b7378d576ef80f2af11293713cc1a26da53 authored about 4 years ago
Add --dump-logs tests option. (#8459)

Dump the entire server log if a test failed, to easy troubleshooting
with no access to log files.

5b8350aaaa1b10efc49ee6b3c15a0559c69c9b20 authored about 4 years ago
Add --insecure option to command line tools. (#8416)

Disable certificate validation, making it possible to connect to servers
without configuring fu...

be83bb13a8eaad68b7580b95c696f2554cf7100e authored about 4 years ago
RM_ZsetRem: Delete key if empty (#8453)

Without this fix, RM_ZsetRem can leave empty sorted sets which are
not allowed to exist.

Rem...

aea6e71ef82701e07177744e600e1ef20d60b7d0 authored about 4 years ago
Fix compiler warning on implicit declaration of ‘nanosleep’ . Removed unused variable (#8454)

b3bdcd2278d1822d861d6e4c6b9688e6b0a33d37 authored about 4 years ago
RAND* commands: fix risk of OOM panic in hash and zset, use fair random in hash, and add tests for even distribution to all (#8429)

Changes to HRANDFIELD and ZRANDMEMBER:
* Fix risk of OOM panic when client query a very big neg...

18ac41973b87c444ed07ff6c043f38e59414b008 authored about 4 years ago
Fix GEOSEARCH tcl test error (#8451)

Issue with new test due to longitude wraparound.

b7b23a0ff50b6d921528289173d6edb6cc1f643a authored about 4 years ago
GEOSEARCH bybox bug fixes and new fuzzy tester (#8445)

Fix errors of GEOSEARCH bybox search due to:
1. projection of the box to a trapezoid (when the ...

ded1655d49950afd02bb3c5199bd33caac995e7c authored about 4 years ago
Fix 32-bit test modules build. (#8448)

52fb3065357afcf14f38a12760eb4edd75158ad9 authored about 4 years ago
Fix FreeBSD tests and CI Daily issues. (#8438)

* Add bash temporarily to allow sentinel fd leaks test to run.
* Use vmactions-freebsd rdist sy...

de6f3ad0170fd69d23530960f406d19beb119300 authored about 4 years ago
Optimizing sorted GEORADIUS COUNT with partial sorting. (#8326)

This commit provides an optimization, in terms of time, for all GEORADIUS*
and GEOSEARCH* searc...

a3718cde0662d110cb989d358924ce0f5919ae25 authored about 4 years ago
Cleanup: addReplyAggregateLen and addReplyBulkLen remove redundant check (#8431)

addReplyLongLongWithPrefix, has a check against negative length, and the code
flow removed in t...

9760475a3984b88b9fcec07392e3ebd998461841 authored about 4 years ago
XINFO should use lookupKeyReadOrReply (#8436)

This bug would have let users observe logically expired keys on replicas and
during CLIENT PAUS...

f2a5fe36789b50dab76851233966aaac44f9048c authored about 4 years ago
update help.h with new commands (#8426)

b57d0eb418dd8622bfc054239320ad7de9ccd752 authored about 4 years ago
temporarily disable sentinel test FD leak print (#8425)

These tests are not yet stable. on github actions they show some false leaks.

8f27578de294aca6e94943976943bc5224e39fd1 authored about 4 years ago
Fix test issues from introduction of HRANDFIELD (#8424)

* The corrupt dump fuzzer found a division by zero.
* in some cases the random fields from the ...

5a7eb9c8810980c4a3e453d9f9fa6d19ab832062 authored about 4 years ago