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

Improve testsuite print of log file (#8805)

1. the `dump_logs` option would have printed only logs of servers that were
spawn before the...

f4b5a4d8698cfee563ee0c054bd97ef5b46c5d26 authored almost 4 years ago
ReplicationCron: Prevent invalid access to freed pointer (#8799)

Fixes #8797

a60016e0619d489f1c282aad6acd36f9d44e3459 authored almost 4 years ago
Avoid close before logging to preserve errno (#8703)

374401d7866685679acaee95ed8357287136039e authored almost 4 years ago
Fix error reply in case zset command is not the STORE variant (#8793)

7d749d810b327cc0ac02df8821ccf11ab54a0a9b authored almost 4 years ago
Add a timeout mechanism for replicas stuck in fullsync (#8762)

Starting redis 6.0 (part of the TLS feature), diskless master uses pipe from the fork
child so ...

d63d02601f5b6ba1b149fdd686c99c20649b9916 authored almost 4 years ago
clean condition and variable store to nwritten that is never read (#8788)

0a2621c673df184ef6486119ea43736f9703987d authored almost 4 years ago
fix typo, stracture to structure (#8784)

07601b7e0737446d9a678623d1afa24ac8a1d20e authored almost 4 years ago
stabilized and improve pendingquerybuf test suit (#8780)

replace the hardcoded after 2000, with waiting for the sync and
wait for condition

645c664fbbaad462f482328818c42cf7460805be authored almost 4 years ago
Modules API docs: Sections and links (#8442)

* Modules API docs: Link API function names to their definitions

Occurrences of API functions...

d7920ff9b16b1b3cec5838581d8499d0d50dc935 authored almost 4 years ago
Remove extra param in role-change event of sentinelEvent. (#8742)

c6cd1e59b1e1dff4f6b47e5d1946ab752738c1b6 authored almost 4 years ago
Small doc fix for stream module API (#8757)

In a code example, using RedisModule_FreeString instead of
RedisModule_Free makes it behave cor...

4938052f6b65a44b8832c5f7e530d84ed4277a96 authored almost 4 years ago
Revert "Fix: server will crash if rdbload or rdbsave method is not provided in module (#8670)" (#8771)

This reverts commit 808f3004f0de8c129b3067d8b2ce5002fa703e77.

b278e443761df27a6e425ec4652f33bd494ceb94 authored almost 4 years ago
Add more attempts to a timing sensitive test (#8770)

c07e16fadd2de67be99b627b07310f7015c1085a authored almost 4 years ago
Clean up no-conf server warning for sentinel mode (#8769)

38da8d07d0f6f90f7983fe215c98ed1266357291 authored almost 4 years ago
fix access to uninitialized var in checkClientPauseTimeoutAndReturnIfPaused (#8765)

server.client_pause_end_time is uninitialized, or actually 0, at startup,
which means this meth...

733daef127de95d9c8042997913546fe82b7df23 authored almost 4 years ago
Fix busy loop in ae.c when timer event is about to fire (#8764)

The code used to decide on the next time to wake on a timer with
microsecond accuracy, but when...

175a9e3199f79305827e826b5d2da3ed5d8a3502 authored almost 4 years ago
Fix failing cluster tests. (#8763)

Disable replica migration to avoid a race condition where the
migrated-from node turns into a r...

5e3a15ae1b58630a10639b34cd016ba9c0ff6b15 authored almost 4 years ago
Fix wrong check for aof fsync and handle aof fsync errno (#8751)

The bio aof fsync fd may be closed by main thread (AOFRW done handler)
and even possibly reused...

a0e19e3cf153ffbd8b1c7e72249d22b92f71532f authored almost 4 years ago
Fix the display of make install (#8667)

cd03e293c3f5a0351cc3203f50cc3d578eebc23f authored almost 4 years ago
use getPositiveLongFromObjectOrReply for positive check of args (#8750)

just a cleanup

d96f47cf06b1cc24b82109e0e87ac5428517525a authored almost 4 years ago
Fix out of range confusing error messages (XAUTOCLAIM, RPOP count) (#8746)

Fix out of range error messages to be clearer (avoid mentioning 9223372036854775807)
* Fix XAUT...

4c14e8668cdfa6a967fd3be6e0a159d1156b7ef6 authored almost 4 years ago
update help.h (#8747)

4de1031d8a4d573b8930cde46a0d5c6ce4799f95 authored almost 4 years ago
Update the location information in some URLs (#8595)

073598ed8f0025d3d599d7c10ae687c3d34dc785 authored almost 4 years ago
Fix: server will crash if rdbload or rdbsave method is not provided in module (#8670)

With this fix, module data type registration will fail if the load or save callbacks are not def...

808f3004f0de8c129b3067d8b2ce5002fa703e77 authored almost 4 years ago
Clean up and stabilize cluster migration tests. (#8745)

This is work in progress, focusing on two main areas:
* Avoiding race conditions with cluster c...

4724dd439e1a33310008ae244f82f70835d96a2e authored almost 4 years ago
Fix "default" and overwritten / reset users will not have pubsub channels permissions by default. (#8723)

Background:
Redis 6.2 added ACL control for pubsub channels (#7993), which were supposed
to be...

3b74b55084b7e902c7e54603b3d6122b2a31d6fa authored almost 4 years ago
redis-cli --bigkeys / memkeys, report detailed error on dbsize failure (#8740)

When DBSIZE failed (e.g. on AUTH error), the printed error didn't reflect the reason.

a3da3e592d310fd6e99ba17643baf6285c0dc5a8 authored almost 4 years ago
Add cluster-allow-replica-migration option. (#5285)

Previously (and by default after commit) when master loose its last slot
(due to migration, for...

1cab962098a61adc06b1455b93d65e315b7f64e4 authored almost 4 years ago
Handle remaining fsync errors (#8419)

In `aof.c`, we call fsync when stop aof, and now print a log to let user know that if fail.
In ...

1eb85249e7e9dafe4fbd023771e53c9a804c0a2f authored almost 4 years ago
Fix XAUTOCLAIM response to return the next available id as the cursor (#8725)

This command used to return the last scanned entry id as the cursor,
instead of the next one to...

44d8b039e81d3088b5c69d586a7d0b6e9ffc5b1b authored almost 4 years ago
Solve sentinel test issue in TLS due to recent tests change. (#8728)

5629dbe71 added a change that configures the tcp (plaintext) port
alongside the tls port, this ...

370ab4c4db9f5ec83d9ceb3edf9518ad322f31f3 authored almost 4 years ago
zsetAdd: Fix wrong reply in case of INCR and GT/LT (#8717)

If GT/LT fails the operation we need to reply with
nill (like failure due to NX).

Other chan...

843f769b96ba3bf6cd40293304a1c7d1d405a2cb authored almost 4 years ago
generalize config file check for sentinel (#8730)

The implications of this change is just that in the past when a config file was missing,
in som...

d5935bb0a46ba397781affda794e10a307db649b authored almost 4 years ago
reuse existing range comparators in the zset (#8714)

There are 2 common range comparators for skiplist: zslValueGteMin and
zslValueLteMax, but they'...

e5d50b236cd2ae81cbe901fe1f44e8c285f8f2dc authored almost 4 years ago
Added macros for RM_log logging levels (#4246)

Added macros for RM_log logging levels, to avoid typos and the need
to memorize the level stri...

07f39ae47b1061034fe94b46a28f04c1d23c32c2 authored almost 4 years ago
Use chi-square for random distributivity verification in test (#8709)

Problem:
Currently, when performing random distribution verification, we determine
the probabi...

569a3f4548cc525aac8bd246da213eb48a17f0e1 authored almost 4 years ago
Always use prev node if there's some room in it setDeferredReply (#8729)

this is a followup PR for #8699
instead of copying the deferred reply data to the previous node...

636aa8de76f07dd0f9b3c6d6e72f334a881a50f2 authored almost 4 years ago
Initialize RedisModuleDigest with zeroes (#8731)

In case the module's digest function doesn't modify
'md' it'll contain garbage and result in wr...

68ba4d43ace055596909c082d436795e81630ee7 authored almost 4 years ago
XAUTOCLAIM: JUSTID should prevent incrementing delivery_count (#8724)

To align with XCLAIM and the XAUTOCLAIM docs

2c120af61e31ead165175556a9564722d4d0149b authored almost 4 years ago
Add replica-announced config option (#8653)

The 'sentinel replicas <master>' command will ignore replicas with
`replica-announced` set to n...

91f4f41665c4e9e0ad248ce0b528644de28d0acd authored almost 4 years ago
Cluster migration test cleanup. (#8726)

* Dump more output on error (always, cluster tests currently have no
verbose flag).
* Slow dow...

6a052af890ff325f0fbb749de92a73fdf7eec00d authored almost 4 years ago
Add support for plaintext clients in TLS cluster (#8587)

The cluster bus is established over TLS or non-TLS depending on the configuration tls-cluster. T...

5629dbe7155f2534cd44404743003dc37c444b2a authored almost 4 years ago
Minor client output buffer optimizations (#8699)

* Avoid checking output limits if buffer didn't grow.
* Use previouse node in case it has room ...

8cbd858d450db5399f4b8b907c0374ce8ea152d6 authored almost 4 years ago
re-fix config rewrite for empty save directive (#8722)

the bug was also discussed in #8716, and was solved in #8719, but incompletely:
when the server...

28375ff63e48f26d60d28bc40b7930235988d5c6 authored almost 4 years ago
solve race conditions in psync2-pingoff test (#8720)

Another test race condition in the macos tests.
the test was waiting for PINGs to be generated ...

cd81dcf18bf9dafbe0edf29d9bba8c626cd2459e authored almost 4 years ago
Fix config rewrite with an empty "save" parameter. (#8719)

65311a3360728dda9688ee7756db87cc2c9cb8b4 authored almost 4 years ago
Add cluster slot migration tests (#8649)

Add tests for fixing migrating slot at all stages:

1. when migration is half inited on "migra...

315df9ada056841c3acb6e4c1052b60ef61072e8 authored almost 4 years ago
Restore old client 'processCommandAndResetClient' to fix false dead client indicator (#8715)

'processCommandAndResetClient' returns 1 if client is dead. It does it
by checking if serve.cur...

036963a7daa03778ed5a8a0672bb7aa5d7aa74e4 authored almost 4 years ago
Fix redis-cli handling of rediss:// URL scheme (#8705)

54fd3d40246e16376c78a0dccd21b92f2292d765 authored almost 4 years ago
Remove redundant defrag dictEntry in activeDefragSdsListAndDict. (#8713)

In activeDefragSdsListAndDict when defrag list key sucess, the key
in dict is also replaced. Th...

a79bb86856d677db2fd2d16c603f29dd9f3c7614 authored almost 4 years ago
make processCommand check publish channel permissions. (#8534)

Add publish channel permissions check in processCommand.

processCommand didn't check publish ...

e138698e54e97bfaababf56507026bf92dd4deb4 authored almost 4 years ago
Fix crash when hz config out of range (#8658)

Fix crash when hz config out of range

db6655deb42d32374c71d00caf48efb63a13c2ec authored almost 4 years ago
Introduce fast path to bypass expensive serveClientsBlockedOnKeyByModule call (#8689)

Introduce fast path to bypass expensive serveClientsBlockedOnKeyByModule call

cf0a909e2df02f7f17e173f3cae473f6df7bdff2 authored almost 4 years ago
Remove deprecated comments about saving expire time (#8692)

1976acfe3e40ca2a1b42ffe7f94cfc7487aa2302 authored almost 4 years ago
Fix SLOWLOG for blocked commands (#8632)

* SLOWLOG didn't record anything for blocked commands because the client
was reset and argv w...

497351ad07365109a57c831c5e99b15dfbefdeb3 authored almost 4 years ago
Fix misleading comment (#8690)

REPLICAOF actually specifies which master to attach.

4a2c4477c9f1a64a4d8512df9720afecb4b32653 authored almost 4 years ago
Skip unecessary check for pong recieved (#8585)

98d2e0017d6b556468bfff399d07ad794945defb authored almost 4 years ago
Properly initialize variable to make valgrind happy in checkChildrenDone(). Removed usage for the obsolete wait3() and wait4() in favor of waitpid(), and properly check for the exit status code. (#8666)

7de6451818175c41ed5cda5d54d7cb9ebb1a81ad authored almost 4 years ago
Remove cron saving during BGSAVE test. (#8688)

This fixes a race where a bgsave can start during the test after we verified no bgsave is running.

3060de88ceae42fc03999e5e9ffb910a8cb1a964 authored almost 4 years ago
Corrupt stream key access to uninitialized memory (#8681)

the corrupt-dump-fuzzer test found a case where an access to a corrupt
stream would have caused...

f6e1a94e030e82e39b65d9497488cde8a1b52056 authored almost 4 years ago
Fixes a typo in DEBUG HELP (#8638)

dc39b0c190904abea46e3b870360d8e1645b567e authored almost 4 years ago
Add RM_GetAbsExpire/RM_SetAbsExpire for module. (#8564)

Add a check to ensure that the expire parameters in RM_SetExpire and RM_SetAbsExpire must be pos...

ccc39f64f8161c33c00545ecfc83ed5af552d272 authored almost 4 years ago
Fix crash report killed by message (#8683)

We sometimes see the crash report saying we were killed by a random
process even in cases where...

b45b0d81bbbb26a793567fbf5236364ba28d4686 authored almost 4 years ago
Avoid evaluating log arguments when log filtered by level. (#8685)

d026647f4f243c2bd1d9d0e38353b909a4aa44f3 authored almost 4 years ago
Update sentinel.c (#8686)

a2af2a306ba41d9536b525c7bfe434db04a283b2 authored almost 4 years ago
clusterState->mf_master_offset init offset change to -1 (#8651)

resolve cluster failover timeout when master repl_offset is 0

725762c48d6465f65f1b5ead4126a72674ce6a83 authored almost 4 years ago
add missing flags in sentinel instance info (#8682)

6bf81eb7b102b5c772c887b862716370151cc197 authored almost 4 years ago
Cleanup: sentinelGetInstanceTypeString is unused. (#8680)

sentinelGetInstanceTypeString is the same as sentinelRedisInstanceTypeStr,
and not referenced b...

eef45934fa1ef20d7297da2871fac87c72ece20a authored almost 4 years ago
Add support for reading encrypted keyfiles. (#8644)

c4ef1efdb7fc22ac853acaf14531ab24c3c20a4c authored almost 4 years ago
Fix slowdown due to child reporting CoW. (#8645)

Reading CoW from /proc/<pid>/smaps can be slow with large processes on
some platforms.

This ...

c3df27d1ea3eeff8ad4d0bec2bfc2646efb9843f authored almost 4 years ago
fix race in diskless load cluster tests (#8674)

2f717c156a0bca757b8a8dfacf27e9cbeb60f99d authored almost 4 years ago
Fix race in replication test (#8679)

Since redis 6.2, redis immediately tries to connect to the master, not
waiting for replication ...

a7c02b19bfe8ca719995d4f3d940b1f27f7f73b8 authored almost 4 years ago
Change the order of start startLoadingFile call in redis-check-rdb. (#8676)

redis_check_rdb in some scenarios only stopLoading is called because
startLoadingFile is called...

0418253a9bd79b7101218c4003ea96757aeba9ae authored almost 4 years ago
Fix script kill to work also on scripts that use pcall (#8661)

pcall function runs another LUA function in protected mode, this means
that any error will be c...

9ae4f5c73d2e2cd80cebd80850e9e7423821ae3f authored almost 4 years ago
Fixes for systems with 64-bit time (#8662)

Some operating systems (e.g., NetBSD and OpenBSD) have switched to
using a 64-bit integer for t...

169be0426c5a4b4eedc04ad94a165c002101e5b2 authored almost 4 years ago
fix wrong comment for data_age unit (#8665)

fix typo

6097d14d4d424ee126ef9bdf7269a628e9ca2c92 authored almost 4 years ago
Cleanup: remove dead code from anet. (#8660)

In the long term we may want to move away from anet completely and have
everything implemented ...

f657315e601d28542a1f8d79ebdc1105bf803341 authored almost 4 years ago
When tests exit normally, some processes may still be alive (#8647)

In certain scenario start_server may think it failed to start a redis server
although it starte...

a19c4058bebe5badaef71af78f033afaa3393256 authored almost 4 years ago
Update README.md (#3543)

prettify

ec34806c1e57ee513df6c3416c3f161f02c14cdf authored almost 4 years ago
Fix incorrect presentation in README.md (#5697)

f141329fb78df320bd0a8dc28a0521e78cca8664 authored almost 4 years ago
Fix typo in t_stream.c (#8592)

arguements -> arguments

6da2bc96e210dba081328d9b24f466cea6047826 authored almost 4 years ago
Fix issue where error replies are not counted on stats (#8659)

lookupKeyReadOrReply and lookupKeyWriteOrReply might decide to reply to the user
with the given...

95360c2e0cb65956bfcd2c57fb909a9c93723e21 authored almost 4 years ago
Sentinel: fix potential NULL ptr issue for sentinel instance connection (#8627)

18b59f35ef491ad0d550a907149d4c6a3b3c6a30 authored almost 4 years ago
set module eviction context flag only in masters (#8631)

REDISMODULE_CTX_FLAGS_EVICT and REDISMODULE_CTX_FLAGS_MAXMEMORY
shouldn't be set when the modul...

40d555dbb72d0294ea35dcf8af45ecdbb28d5095 authored almost 4 years ago
Server won't start on alpine/libmusl without IPv6. (#8655)

listenToPort attempts to gracefully handle and ignore certain errors but does not store errno pr...

df5f543b65ca68d7ef1fc7855bce5f8f87fb24dc authored almost 4 years ago
Redact slowlog entries for config with sensitive data. (#8584)

Redact config set requirepass/masterauth/masteruser from slowlog in addition to showing ACL comm...

e1d98bca5a54bb71ff10a69337863d5543ad4373 authored almost 4 years ago
Missing EXEC on modules propagation after failed EVAL execution (#8654)

1. moduleReplicateMultiIfNeeded should use server.in_eval like
moduleHandlePropagationAfterC...

dba33a943d508bc5929db4950b4abadf6278ef02 authored almost 4 years ago
Fix typo and outdated comments. (#8640)

84d056d0f742444819355d6018a2329ede838215 authored almost 4 years ago
Send the readiness notification when we are ready to accept connections (#8409)

On a replica we do accept connections, even though commands accessing
the database will operate...

3a5905fa8575ccc7b0e115dee0a80f774bb6bf85 authored almost 4 years ago
Optimize CLUSTER SLOTS reply by reducing unneeded loops (#8541)

This commit more efficiently computes the cluster bulk slots response
by looping over the enti...

5b48d900498c85bbf4772c1d466c214439888115 authored almost 4 years ago
Sentinel: fix info_refresh time before sentinel get first response (#8567)

3c09ce26fbead90d1d8e4e9c0ef1003de472f9c7 authored almost 4 years ago
Fix some memory leaks in propagagte.c (#8636)

Introduced by 3d0b427c30610b45c00b2377ee28bb69974ccea2

a4f03bd7eb44580b44f9499c53417df45e1edfb0 authored almost 4 years ago
allow RESET during busy scripts (#8629)

same as DISCARD, this command (RESET) is about client state, not server state

4ae1bea323ffc62ebf78a41fef1e50e4f268f8e2 authored almost 4 years ago
Process hello command even if the default user has no permissions. (#8633)

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

b70d81f60b29b1137d6644da1c609dcf45d9e4bc authored almost 4 years ago
Changes http to https in texts (#8495)

c945e1126a0b7ccba642af7c51c60f2d86290e17 authored almost 4 years ago
Fix some issues with modules and MULTI/EXEC (#8617)

Bug 1:
When a module ctx is freed moduleHandlePropagationAfterCommandCallback
is called and ha...

3d0b427c30610b45c00b2377ee28bb69974ccea2 authored almost 4 years ago
Adds `LEN` to `STRALGO`'s comment (#8626)

Ref: https://github.com/redis/redis-doc/pull/1529

ceb3a7a8f6100ac8c88491ad029ac93965ced36e authored almost 4 years ago
Cleanup ZADD_* flags (#8559)

Have a clear separation between in and out flags

Other changes:

delete dead code in RM_Zse...

61a73de64dd8e900c0fe720b0fbf063ddf77676b authored almost 4 years ago
strip % sign from current_fork_perc info field (#8628)

`master_sync_perc` and `loading_loaded_perc` don't have that sign,
and i think the info field s...

7778f1b4b03a6a416388fe28d9bc93374384a65b authored almost 4 years ago
key miss stat increment was misplaced (#8630)

The implication is that OBJECT command would was not updating stat_keyspace_misses

62a197516b0c114f96122d40f81f79a45d614981 authored almost 4 years ago