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
1. the `dump_logs` option would have printed only logs of servers that were
spawn before the...
Fixes #8797
a60016e0619d489f1c282aad6acd36f9d44e3459 authored almost 4 years ago374401d7866685679acaee95ed8357287136039e authored almost 4 years ago
7d749d810b327cc0ac02df8821ccf11ab54a0a9b authored almost 4 years ago
Starting redis 6.0 (part of the TLS feature), diskless master uses pipe from the fork
child so ...
0a2621c673df184ef6486119ea43736f9703987d authored almost 4 years ago
07601b7e0737446d9a678623d1afa24ac8a1d20e authored almost 4 years ago
replace the hardcoded after 2000, with waiting for the sync and
wait for condition
* Modules API docs: Link API function names to their definitions
Occurrences of API functions...
d7920ff9b16b1b3cec5838581d8499d0d50dc935 authored almost 4 years agoc6cd1e59b1e1dff4f6b47e5d1946ab752738c1b6 authored almost 4 years ago
In a code example, using RedisModule_FreeString instead of
RedisModule_Free makes it behave cor...
This reverts commit 808f3004f0de8c129b3067d8b2ce5002fa703e77.
b278e443761df27a6e425ec4652f33bd494ceb94 authored almost 4 years agoc07e16fadd2de67be99b627b07310f7015c1085a authored almost 4 years ago
38da8d07d0f6f90f7983fe215c98ed1266357291 authored almost 4 years ago
server.client_pause_end_time is uninitialized, or actually 0, at startup,
which means this meth...
The code used to decide on the next time to wake on a timer with
microsecond accuracy, but when...
Disable replica migration to avoid a race condition where the
migrated-from node turns into a r...
The bio aof fsync fd may be closed by main thread (AOFRW done handler)
and even possibly reused...
cd03e293c3f5a0351cc3203f50cc3d578eebc23f authored almost 4 years ago
just a cleanup
d96f47cf06b1cc24b82109e0e87ac5428517525a authored almost 4 years ago
Fix out of range error messages to be clearer (avoid mentioning 9223372036854775807)
* Fix XAUT...
4de1031d8a4d573b8930cde46a0d5c6ce4799f95 authored almost 4 years ago
073598ed8f0025d3d599d7c10ae687c3d34dc785 authored almost 4 years ago
With this fix, module data type registration will fail if the load or save callbacks are not def...
808f3004f0de8c129b3067d8b2ce5002fa703e77 authored almost 4 years ago
This is work in progress, focusing on two main areas:
* Avoiding race conditions with cluster c...
Background:
Redis 6.2 added ACL control for pubsub channels (#7993), which were supposed
to be...
When DBSIZE failed (e.g. on AUTH error), the printed error didn't reflect the reason.
a3da3e592d310fd6e99ba17643baf6285c0dc5a8 authored almost 4 years ago
Previously (and by default after commit) when master loose its last slot
(due to migration, for...
In `aof.c`, we call fsync when stop aof, and now print a log to let user know that if fail.
In ...
This command used to return the last scanned entry id as the cursor,
instead of the next one to...
5629dbe71 added a change that configures the tcp (plaintext) port
alongside the tls port, this ...
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
The implications of this change is just that in the past when a config file was missing,
in som...
There are 2 common range comparators for skiplist: zslValueGteMin and
zslValueLteMax, but they'...
Added macros for RM_log logging levels, to avoid typos and the need
to memorize the level stri...
Problem:
Currently, when performing random distribution verification, we determine
the probabi...
this is a followup PR for #8699
instead of copying the deferred reply data to the previous node...
In case the module's digest function doesn't modify
'md' it'll contain garbage and result in wr...
To align with XCLAIM and the XAUTOCLAIM docs
2c120af61e31ead165175556a9564722d4d0149b authored almost 4 years ago
The 'sentinel replicas <master>' command will ignore replicas with
`replica-announced` set to n...
* Dump more output on error (always, cluster tests currently have no
verbose flag).
* Slow dow...
The cluster bus is established over TLS or non-TLS depending on the configuration tls-cluster. T...
5629dbe7155f2534cd44404743003dc37c444b2a authored almost 4 years ago
* Avoid checking output limits if buffer didn't grow.
* Use previouse node in case it has room ...
the bug was also discussed in #8716, and was solved in #8719, but incompletely:
when the server...
Another test race condition in the macos tests.
the test was waiting for PINGs to be generated ...
65311a3360728dda9688ee7756db87cc2c9cb8b4 authored almost 4 years ago
Add tests for fixing migrating slot at all stages:
1. when migration is half inited on "migra...
315df9ada056841c3acb6e4c1052b60ef61072e8 authored almost 4 years ago
'processCommandAndResetClient' returns 1 if client is dead. It does it
by checking if serve.cur...
54fd3d40246e16376c78a0dccd21b92f2292d765 authored almost 4 years ago
In activeDefragSdsListAndDict when defrag list key sucess, the key
in dict is also replaced. Th...
Add publish channel permissions check in processCommand.
processCommand didn't check publish ...
e138698e54e97bfaababf56507026bf92dd4deb4 authored almost 4 years agoFix crash when hz config out of range
db6655deb42d32374c71d00caf48efb63a13c2ec authored almost 4 years agoIntroduce fast path to bypass expensive serveClientsBlockedOnKeyByModule call
cf0a909e2df02f7f17e173f3cae473f6df7bdff2 authored almost 4 years ago1976acfe3e40ca2a1b42ffe7f94cfc7487aa2302 authored almost 4 years ago
* SLOWLOG didn't record anything for blocked commands because the client
was reset and argv w...
REPLICAOF actually specifies which master to attach.
4a2c4477c9f1a64a4d8512df9720afecb4b32653 authored almost 4 years ago98d2e0017d6b556468bfff399d07ad794945defb authored almost 4 years ago
7de6451818175c41ed5cda5d54d7cb9ebb1a81ad authored almost 4 years ago
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
the corrupt-dump-fuzzer test found a case where an access to a corrupt
stream would have caused...
dc39b0c190904abea46e3b870360d8e1645b567e authored almost 4 years ago
Add a check to ensure that the expire parameters in RM_SetExpire and RM_SetAbsExpire must be pos...
ccc39f64f8161c33c00545ecfc83ed5af552d272 authored almost 4 years ago
We sometimes see the crash report saying we were killed by a random
process even in cases where...
d026647f4f243c2bd1d9d0e38353b909a4aa44f3 authored almost 4 years ago
a2af2a306ba41d9536b525c7bfe434db04a283b2 authored almost 4 years ago
resolve cluster failover timeout when master repl_offset is 0
725762c48d6465f65f1b5ead4126a72674ce6a83 authored almost 4 years ago6bf81eb7b102b5c772c887b862716370151cc197 authored almost 4 years ago
sentinelGetInstanceTypeString is the same as sentinelRedisInstanceTypeStr,
and not referenced b...
c4ef1efdb7fc22ac853acaf14531ab24c3c20a4c authored almost 4 years ago
Reading CoW from /proc/<pid>/smaps can be slow with large processes on
some platforms.
This ...
c3df27d1ea3eeff8ad4d0bec2bfc2646efb9843f authored almost 4 years ago2f717c156a0bca757b8a8dfacf27e9cbeb60f99d authored almost 4 years ago
Since redis 6.2, redis immediately tries to connect to the master, not
waiting for replication ...
redis_check_rdb in some scenarios only stopLoading is called because
startLoadingFile is called...
pcall function runs another LUA function in protected mode, this means
that any error will be c...
Some operating systems (e.g., NetBSD and OpenBSD) have switched to
using a 64-bit integer for t...
fix typo
6097d14d4d424ee126ef9bdf7269a628e9ca2c92 authored almost 4 years ago
In the long term we may want to move away from anet completely and have
everything implemented ...
In certain scenario start_server may think it failed to start a redis server
although it starte...
prettify
ec34806c1e57ee513df6c3416c3f161f02c14cdf authored almost 4 years agof141329fb78df320bd0a8dc28a0521e78cca8664 authored almost 4 years ago
arguements -> arguments
6da2bc96e210dba081328d9b24f466cea6047826 authored almost 4 years ago
lookupKeyReadOrReply and lookupKeyWriteOrReply might decide to reply to the user
with the given...
18b59f35ef491ad0d550a907149d4c6a3b3c6a30 authored almost 4 years ago
REDISMODULE_CTX_FLAGS_EVICT and REDISMODULE_CTX_FLAGS_MAXMEMORY
shouldn't be set when the modul...
listenToPort attempts to gracefully handle and ignore certain errors but does not store errno pr...
df5f543b65ca68d7ef1fc7855bce5f8f87fb24dc authored almost 4 years agoRedact config set requirepass/masterauth/masteruser from slowlog in addition to showing ACL comm...
e1d98bca5a54bb71ff10a69337863d5543ad4373 authored almost 4 years ago
1. moduleReplicateMultiIfNeeded should use server.in_eval like
moduleHandlePropagationAfterC...
84d056d0f742444819355d6018a2329ede838215 authored almost 4 years ago
On a replica we do accept connections, even though commands accessing
the database will operate...
This commit more efficiently computes the cluster bulk slots response
by looping over the enti...
3c09ce26fbead90d1d8e4e9c0ef1003de472f9c7 authored almost 4 years ago
Introduced by 3d0b427c30610b45c00b2377ee28bb69974ccea2
a4f03bd7eb44580b44f9499c53417df45e1edfb0 authored almost 4 years agosame as DISCARD, this command (RESET) is about client state, not server state
4ae1bea323ffc62ebf78a41fef1e50e4f268f8e2 authored almost 4 years agoCo-authored-by: Harkrishn Patro <[email protected]>
b70d81f60b29b1137d6644da1c609dcf45d9e4bc authored almost 4 years agoc945e1126a0b7ccba642af7c51c60f2d86290e17 authored almost 4 years ago
Bug 1:
When a module ctx is freed moduleHandlePropagationAfterCommandCallback
is called and ha...
Ref: https://github.com/redis/redis-doc/pull/1529
ceb3a7a8f6100ac8c88491ad029ac93965ced36e authored almost 4 years agoHave a clear separation between in and out flags
Other changes:
delete dead code in RM_Zse...
61a73de64dd8e900c0fe720b0fbf063ddf77676b authored almost 4 years ago
`master_sync_perc` and `loading_loaded_perc` don't have that sign,
and i think the info field s...
The implication is that OBJECT command would was not updating stat_keyspace_misses
62a197516b0c114f96122d40f81f79a45d614981 authored almost 4 years ago