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
The docs state that there is a new and an old argument format.
The current state of the argumen...
--stop: Blocks once the first test fails.
--loop: Execute the specified set of tests forever.
...
Before this change, if the module has an embedded string, then uses RedisModule_SaveString
and ...
trackingHandlePendingKeyInvalidations should use proto.
61451b02cb3dd5f274a2f5fe72bf0b80b02a744e authored over 2 years ago
In clusterMsgPingExtForgottenNode, sizeof(name) is CLUSTER_NAMELEN,
and sizeof(clusterMsgPingEx...
The kill above is sometimes successful and sometimes already too late.
The PING in pysnc wrong ...
RM_Microseconds
Return the wall-clock Unix time, in microseconds
RM_CachedMicroseconds
Retu...
The reason we do this is because in #11036, we added error
log message when failing to open RDB...
When FLUSHDB / FLUSHALL / SWAPDB is inside MULTI / EXEC, the
client side tracking invalidation ...
Fix #11030, use lua_rawget to avoid triggering metatables.
#11030 shows how return `_G` from ...
020e046b4210f64a614d7ec51b4ee09f746e5350 authored over 2 years ago
Gossip the cluster node blacklist in ping and pong messages.
This means that CLUSTER FORGET doe...
When failing to open the rdb file, there was no specific error printed (unlike a
corrupt file),...
In rewriteAppendOnlyFileBackground, after flushAppendOnlyFile(1),
and before openNewIncrAofForA...
RM_SetAbsExpire and RM_GetAbsExpire were not actually operational since
they were introduced, d...
Swap M and N in the complexity formula of [B]ZMPOP
Co-authored-by: Pavel Krush <neon@pushwoos...
5879e490b8c4d2c1eb612c155ba798d5ec16455a authored over 2 years agod00b8af89265c501fb4a0cdd546702b90432a896 authored over 2 years ago
It seems it was overlooked when we first created the json files
6d6e932fa6cce5a08aaf68a3d41946a1909a32a0 authored over 2 years ago
As an outstanding part mentioned in #10737, we could just make the cluster config file and
ACL ...
these are missing from the RO_ commands, present in the other ones.
Co-authored-by: Ubuntu <l...
56828bab592ff9c8496bd4ce426d7705f5d3c3fb authored over 2 years agob550a55cbf5e02ab02f8ab020985cb2bfb4fa707 authored over 2 years ago
Following #10996, it forgot to modify RM_StringCompare in module.c
Modified RM_StringCompare,...
95b88f672a54fc66d719c1385008ad8f8cc7d642 authored over 2 years ago
A timing issue like this was reported in freebsd daily CI:
```
*** [err]: Sanity test push cmd...
The temporary array for deleted entries reply of XAUTOCLAIM was
insufficient, but also in fact ...
replace use of:
sprintf --> snprintf
strcpy/strncpy --> redis_strlcpy
strcat/strncat --> re...
If we do not use jemalloc (mostly with valgrind) and use an old compiler that does not support C...
82b82035553cdbaf81983f91e0402edc8de764ab authored over 2 years ago587fc9ce763c2eac90167f0b7daf295056b944a6 authored over 2 years ago
In the newly added cluster hostnames test, the primary is failing over during the reboot
for va...
According to the Redis functions documentation, FCALL command format could be
FCALL function_na...
`--skipfile` can be repeated.
For example: ./runtests --skipfile file1.txt --skipfile file2.txt...
The corrupt dump fuzzer uncovered a valgrind warning saying:
```
==76370== Argument 'size' of ...
Validating inputs ahead of time, to give the end user a slightly more useful error.
20af95a99f333d242e13ffae86e89d6c1167d36f authored over 2 years ago* Restructured testing to allow running cluster tests easily as part of the normal testing
8a4e3bcd8d26a50c6d5f4417102f71f8e2e2d70d authored over 2 years ago8221d481656e3bc109d85dd6523e723d63024ae6 authored over 2 years ago
Remove unnecessary variable name.
53e7de205f95d64604bd036b58072fd572358952 authored over 2 years ago
#10942 break the new test added in #10449
```
Testing unit: 29-slot-migration-response.tcl
Cl...
b4568fc78a15f7696f7cc0e25aeb943a6319f6b8 authored over 2 years ago
In #9389, we add a new `cluster-port` config and make cluster bus port configurable,
and curren...
1e85b89aefe8e7e24a46bd1c8fb251fdab024b74 authored over 2 years ago
* Fix an engine crash when there are nodes in handshaking and a user calls cluster shards
e6a1b2ea9534053213cb92b08f610f07c381695d authored over 2 years ago* Only print ACL syntax errors once and include command names in errors
1209dc2277342491b100f298d311510c86b0a2f2 authored over 2 years ago* Fix some outdated comments and some typo
8203461120bf244e5c0576222c6aa5d986587bca authored over 2 years ago
CONTRIBUTING to get better formatting
CONDUCT also because github doesn't seem recognize the co...
We already have `pubsub_channels` and `pubsub_patterns`
in INFO stats, now add `pubsubshard_cha...
Use SSL_shutdown(), in a best-effort manner, when closing a TLS
connection. This change better ...
9bcdd1537ed6404d4f9def35439af0589f1adf72 authored over 2 years ago
* Add tests for error messages during slot migrations
Co-authored-by: Ubuntu <lucas.guang.yan...
f620e6ac739191690fcd48dbbc8164ea256a95fc authored over 2 years ago
## Issue
During the MULTI/EXEC flow, each command gets queued until the `EXEC`
command is rece...
Currently in cluster mode, Redis process locks the cluster config file when
starting up and hol...
Account sharded pubsub channels memory consumption in client memory usage
computation to accura...
We should also set aof_lastbgrewrite_status to C_ERR on these
errors. Because aof rewrite did f...
This problem was introduced by 496375f and seems to more easily reproduce on macOS since OpenSSL...
0b645d63193fb18a6646def558c37f6c7ee5d740 authored over 2 years ago
Before this commit, TLS tests on Ubuntu 22.04 would fail as dropped
connections result with an ...
The `can_log` variable prevents us from outputting too
many error logs. But it should not inclu...
This was harmless because we marked the parent command
with SENTINEL flag. So the populateComma...
Fix regression of CLUSTER RESET command in redis 7.0.
cluster reset command format is:
CLUST...
When calling CLIENT INFO/LIST, and in various debug prints, Redis is printing
the number of pub...
069b30a2b329102d60ba70bd3fd7a1d04284e426 authored over 2 years ago
The module API docs mentions this macro, but it was not defined (so no one could have used it).
...
Since the ranges of `unsigned long long` and `long long` are different, we cannot read an
`unsi...
This commit has two topics.
## Passing config name and value in the same arg
In #10660 (Redi...
Adding Module APIs to let the module read and set the client name of an arbitrary connection.
6272ca609e67d1f35dda50a82027d7401892e383 authored over 2 years ago
This is harmless, we only restore mstate to make sure we
free the right pointer in freeClientMu...
There are a lot of false sharing cache misses in line 4013 inside getIOPendingCount function.
T...
In 6.2.0 with the introduction of the REV subcommand in ZRANGE, there was a semantic shift in th...
a64b29485d4f2359b9d698c0e21e890a212ad1bb authored over 2 years ago
I think parameter c is only useful to get client reply.
Besides, other commands' host and port ...
It will be displayed in the `aof_last_bgrewrite_status`
field of the INFO command.
Signed-off-by: Mostafa Hussein <[email protected]>
c52922e1d9d94a7aea705d3f91e0185ef2a9cfae authored over 2 years ago
The new test added in #10891 can fail with a different error.
see comment in networking.c sayin...
In `CLUSTER MEET`, bus-port argument was added in 11436b1.
For cluster announce ip / port imple...
my maxclients config:
```
redis-cli config get maxclients
1) "maxclients"
2) "4064"
```
...
49876158cc2e77bba8e4658fa757891310dc37b6 authored over 2 years ago
* Fix typo `RedisModule_CreatString` -> `RedisModule_CreateString` (multiple occurrences)
* Mak...
The PR fixes 2 issues:
### RM_Call crash on script mode
`RM_Call` can potentially be calle...
61baabd8d5cd9178f48b6fad79ae3cb477ef0a11 authored over 2 years ago`COUNTER_INIT_VAL` doesn't exist in the code anymore so we can replace it with `LFU_INIT_VAL` en...
a3fdc9cd82076ece0796d460a3de0dc60717d21e authored over 2 years ago* Changed clusterLoadConfig to set the config epoch of replica nodes to 0 when loaded.
091701f363da953695b52cd7b4d7668d47f0258e authored over 2 years agoOptimize the performance of clusterSendPing by improving speed of checking for duplicate items i...
ff6419658bd8c8800734a7f19520c2aa7cd68a90 authored over 2 years ago
The current process to persist files is `write` the data, `fsync` and `rename` the file,
but a ...
Co-authored-by: moticless <[email protected]>
4c72a09b78f6adcc3657b0d1b7ce64f2dd028c72 authored over 2 years agoboth redisassert.c and server.h + debug.c use const, but redisassert.h doesn't.
f2387daa837ea2ec58899f76b0d2b63cbc1f8db9 authored over 2 years agoClients could use this config in sentinel only when they already add rename-command in the redis...
c37d63e87a7eb302419f81f36aec5afc817598d6 authored over 2 years agoa4754e228fda51e4fd136d6e728eb1fc1923e5df authored over 2 years ago
when we know the size of the zset we're gonna store in advance,
we can check if it's greater th...
If a script made a modification and then was interrupted for taking too long.
there's a chance ...
I noticed that scripting.tcl uses INFO from within a script and thought it's an
overkill and co...
* fix comment in dict.c
fix comment in dict.c
* Fix comment in redis-cli.c
Fix comment ...
c65e5087e8e88104f7cdd640aa9d1af0737561a3 authored over 2 years ago
* In cluster getNodeByQuery when target slot is in migrating state and
the slot lack some keys ...
In #9199, we add a `goto eoferr` in when_opcode check,
this means that if the when_opcode check...
d4595dd94ff35e090fae02c0ca63b742faf237f9 authored over 2 years ago
A regression caused by #10636 (released in 7.0.1) causes Redis startup warning about overcommit ...
9f3b410050d998110ae91c2ac49f832ce0ba2629 authored over 2 years agoabb2ea7e3caee9f41aeee2f955d00c905f9f2079 authored over 2 years ago
The SET and BITFIELD command were added `get_keys_function` in #10148, causing
them to be wrong...
When `/proc/sys/vm/overcommit_memory` is inaccessible, fp is NULL.
`checkOvercommit` will retur...
The test calls `ldd` on `redis-server` in order to find out whether the binary
was linked again...
some small documentation fixes.
6e1c3ff132ab99602e4e71c1ccaa5795b0d996e7 authored over 2 years ago
There is a little regex that wraps up all the free-floating functions in the doc-block
e.g. mal...
This change fixes failing `integration/logging.tcl` test in Gentoo with
musl libc, where `ldd` ...
Currently, we only increment stat_rdb_saves in rdbSaveBackground,
we should also increment it i...
b8665b879b760d13d103a00667a6277e372ea18b authored over 2 years ago
Correcting the introduction version of the command `BITFIELD_RO`
Command added by commit: b3e4a...
Currently generate-command.help.rb dose not handle the
multiple_token flag, handle this flag in...
Current documentation only states a single GET token is needed which is not true. Marking the co...
b4772f63810de3099c3cfcb073c2041349f05fc1 authored over 2 years ago