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
When oom-score-adj-values is out of range, setConfigOOMScoreAdjValuesOption
should return 0, no...
85899e359ee7c4e615477b82b8b1d5c6f258d792 authored almost 3 years ago
RM_Yield was missing a call to protectClient to prevent redis from
processing future commands o...
There is a implicit conversion warning in clang:
```
util.c:574:23: error: implicit conversion...
When the score doesn't have fractional part, and can be stored as an integer,
we use the intege...
since PUBLISH and SPUBLISH use different dictionaries for channels and clients,
and we already ...
The tests verify that loading a binary payload to the Lua interpreter raises an error.
The Lua ...
From #9166, we call several times of prepareReplicasToWrite when propagating
one write command ...
Add APIs to allow modules to compute the memory consumption of opaque objects owned by redis.
W...
By the convention of errors, there is supposed to be a space between the code and the name.
Whi...
we had a panic in streamLastValidID when the stream metadata
said it's not empty, but the rax i...
This PR fix the following minor errors before Redis 7 release:
ZRANGEBYLEX command in depreca...
ca913a5de06bdcc323d0e109efbfa239496cc08d authored almost 3 years ago
we can observe that when adding to a stream without ID there is a duplicate work
on sds creatio...
Add an optional keyspace event when new keys are added to the db.
This is useful for applicat...
bb7891f080602fb92197a0f398be71eb7aba9e3c authored almost 3 years ago
Apparently, some modules can afford deprecating command arguments
(something that was never don...
bd8da0ca29b161e5bd47a6a98ce0a7a232ccda90 authored almost 3 years ago
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Rel...
Allow specifying an ACL log reason, which is shown in the log. Right now it always shows "unknow...
8bd01a07ae75609a36335ab34b37da41da1b1bf2 authored almost 3 years ago* Extending the use of hashTypeGetValue.
Functions hashTypeExists, hashTypeGetValueLength and...
4c6d9bbd626bb25cf7d154ea0b7d347172015cfb authored almost 3 years ago
Durability of database is a big and old topic, in this regard Redis use AOF to
support it, and ...
Change `RM_OpenKey` to return `RedisModuleKey*` instead of `void*`.
Which is the input type of ...
Similarly to LCS, some modules would want to try to allocate memory, and
fail gracefully if the...
Add field to COMMAND DOCS response to denote the name of the module
that added that command.
C...
6cb5cbb28fea3f77f07e78effbbd0cf378c5b6bf authored almost 3 years ago
copy paste error..
Co-authored-by: Oran Agra <[email protected]>
dd3b545d89468d81b29e6a1e72de7a4a38da80d1 authored almost 3 years ago* improve malloc efficiency: reduce call times of zrealloc
Co-authored-by: Madelyn Olson <mad...
ee17e7af8da0c6e482bc24ad1e2197d94cba1e1f authored almost 3 years ago
The `auto-aof-rewrite-percentage` config defines at what growth percentage
an automatic AOF rew...
The bug was when using REDISMODULE_YIELD_FLAG_CLIENTS.
in that case we would have only set the ...
Fixes in command argument in json files
* Fixes BITFIELD's syntax ("sub-commands" can be repeat...
Fixed a bug that used the `hincrbyfloat` or `hincrby` commands to make the field or value exceed...
f110de4b239d23b8436fdc742a557103c5852aad authored almost 3 years ago8a7049d36305d297a31ab14d7acab372a579f2ee authored almost 3 years ago
Sentinel once in a while experience Sentinel TILT period or leader election
failure cycle. The...
acfb4f7a448144ceb6c841a67613500bc2982a23 authored almost 3 years ago
The command json documents should just include information about the "arguments" and the "output...
4ffcec29af9dc1246540d94834540528576c68a4 authored almost 3 years ago## Move library meta data to be part of the library payload.
Following the discussion on http...
ae020e3d5665e46dbd2704b46b6ad207dd4471d9 authored almost 3 years ago
* Limit cluster node id length for CLUSTER commands loading
* Cluster node name sanity check fo...
This macro was recently removed from redismodule.h, so no longer needed.
9578b67e0e535686b41d3de53d97f7b1a6f3cf48 authored almost 3 years ago
It is really outdated and i guessing no one will use it now.
Remove the corresponding utils/ha...
The warning:
```
pqsort.c:106:7: warning: performing pointer subtraction with a null pointer h...
Unlike original reference code, Redis uses 64bit variable, so half the bits make it 32bit, not 16
8500ca4ae8f87fdae3be984146eb2eccd832e56f authored almost 3 years ago
If, for some reason, Redis decides not to execute the script, we need
to pop the function and e...
function aofRewriteLimited in aof.c, deley->delay and NAX->MAX
Co-authored-by: judeng <judeng...
6cdaa277036819440c013547a4a5c378efdb59ce authored almost 3 years agoFix by replacing in test blind sleep with wait_for_condition().
Co-authored-by: moticless <mo...
37beb5e67ed738065f2af7b6e3071c20b066caab authored almost 3 years ago* Fix race condition where node loses its last slot and turns into replica
When a node has lo...
b53c7f2c0bb8692fd30c59348190c2bd897958a0 authored almost 3 years ago
Fix global `strval` not reset to NULL after being freed, causing a crash on alpine
(most likely...
During 11-manual-takeover.tcl, if the killing of the instances happens
too slowly, one of the r...
Fix three timing issues in the test
a3075ca4fea92b672689c74dc63c3550cd626a26 authored almost 3 years agoOn error, redis-cli was returning `REDIS_ERR` on some cases by mistake. `REDIS_ERR` is `-1` whic...
7da1cc3e90e7c650790510961d46b7a3d11d14f8 authored almost 3 years ago
Create a utils.tcl in sentinel/tests/includes, and move two procs to it.
Allow sentinel test 08...
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](ht...
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://...
This feature adds the ability to add four different types (Bool, Numeric,
String, Enum) of conf...
This PR do some command json files cleanups:
1. Add COMMAND TIPS to some commands
- command-...
* missing parenthesis meant that the ubuntu and centos jobs were not
skipped
* the recently ...
Affects `--cluster create` and `--cluster add-node`.
35bb021254a2843aba093e6ffee3518fd9f3e7a7 authored almost 3 years ago001e19257557788213c503d54a4ef0c384bb3d71 authored almost 3 years ago
This commit improve malloc efficiency of the slots_info_pairs mechanism in cluster.c
by changin...
There are a few places that use a hard coded const of 128 to allocate a buffer for d2string.
Re...
redis-cli --cluster help currently outputs the help on stderr.
This is similar to #9124
A timing issue of debug sleep master isn't long enough to ensure
that master is down and let th...
a missing of resp3 judgement which may lead to the crash using `debug protocol push`
introduced...
#10381 fixed an issue in `redis-cli --cluster reshard` that used to fail it (redis-cli) because
...
Replace condition with wait_for_condition On "Verify sentinel that restarted
failed to reconne...
Did some cleanups:
1. local local typo
2. replace the only slave word in the file
3. add FUNC...
3bcc67d14f5fcdfb1a44e216fe4aaef3533028f8 authored almost 3 years ago
To remove `pending_querybuf`, the key point is reusing `querybuf`, it means master client's `que...
78bef6e1fe4b69e9cca6a922911bd88a92584edb authored almost 3 years ago
this should aid find the CI issues with freebsd and macos runs, and also
get faster results fro...
Avoid printing "Killed by PID" when si_code != SI_USER.
Apparently SI_USER isn't always set to ...
The PR extends RM_Call with 3 new capabilities using new flags that
are given to RM_Call as par...
When vlen = sizeof(buf), the statement buf[vlen] = '\0' accessing the buffer buf is an off by on...
08aed7e7dd1c338e5fb69a10b8ae09a0ec11e96a authored almost 3 years ago
When rewrite the config file, we need read the old config file first,
but the CONFIG_MAX_LEN is...
errno would be potentially tainted during the serverLog() by the file io functions, such as fope...
93dda65354e502e8b8db07f85b668710dd0aac68 authored almost 3 years agoUse exit code 1 if redis-cli fails to connect.
Before https://github.com/redis/redis/pull/103...
4517fadb59f40f1244ce110b6c9963d5b811df18 authored almost 3 years ago
Bug introduced in #9403, caused inconsistency between master and
replica in case just the lengt...
Increase function tests timeout to avoid false failures on
slow systems.
557222d1e046ab4adc4ac86914c42d60bf028a4e authored almost 3 years ago
fix #10439. see https://github.com/redis/redis/pull/9872
When executing SHUTDOWN we pause the c...
When ::singledb is 0, we will use db 9 for the test db.
Since ::singledb is set to 1 in the clu...
b69636d377cce0eb8c1fae3ac80240387e31d78f authored almost 3 years ago
e8771efda9f88478f4cc42236373f6ce0e748986 authored almost 3 years ago
After migrating a slot, send CLUSTER SETSLOT NODE to the destination
node first to make sure th...
The new module redact test will fail with valgrind:
```
[err]: modules can redact arguments in...
Implement a new cluster shards command, which provides a flexible and extensible API for topolog...
45ccae89bb998b402610f35ea7ca961a92c46303 authored almost 3 years agoAdd module API for redacting client commands
416c9ac2ef5b7adfdfd83e2b98ec25de23f37627 authored almost 3 years agoc30de7073cca2bc106a261a5ddfc8be546ea0e3d authored almost 3 years ago
Currently the sort and sort_ro can access external keys via `GET` and `BY`
in order to make sur...
In a benchmark we noticed we spend a relatively long time updating the client
memory usage lead...
We need to wait for `sentinelTimer` to kick in, and then trigger the reconnect.
As for anothe...
871fa12fec41c4d8fc008dbfb8eaf714a9cc1bfc authored almost 3 years ago
For an integer string like "123456789012345678901" which could cause
overflow-failure in string...
Better check the monitors list argument instead of server.monitors in the function,
although th...
When updating SENTINEL with master’s new password (command:
`SENTINEL SET mymaster auth-pass so...
probably a copy paste error.
b576fbc474e199239a7032a90906304940470605 authored almost 3 years ago
The following usage will output an empty newline:
```
> redis-cli help set
empty line
```
...
1797330e2eb05a2488eeb50024469d2b1f885f70 authored almost 3 years agoAs a result we segfault when parsing and matching the command keys.
11b071a22bd1662166213e86f7bb7394a945ea00 authored almost 3 years agoIt's confusing for this config to be modifiable since it only takes effect on startup
a26cab9dd6a2baab656490e9a7a3ef858a27a8f3 authored almost 3 years ago* fix-replication-comments
The described capacity
`and to schedule a new BGSAVE if there ar...
* stats and latency commands have non-deterministic output.
* the ones about latency should be ...
86ca9b25e22174ef6a5ce7b54b85b100bb4bc919 authored almost 3 years ago
24da71e50740bc0dec2a78b18475665f11af6b95 authored almost 3 years ago
c->buf is not sds, so we should use dismissMemory instead of dismissSds to dismiss it.
This is ...