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
Typo in conf file comment.
b104f3cabc1020e46e76dbc13984ab90a1584158 authored almost 3 years agoDeleting a stream while a client is blocked XREADGROUP should unblock the client.
The idea is...
2a2954086a28b9969882158a5b0630c3f944c051 authored almost 3 years ago
In some special commands like eval_ro / fcall_ro we allow no-writes commands.
But may-replicate...
since #9822, the static reply buffer is no longer part of the client structure, so we need to di...
b3fe4f31a2b705abef147edf4b625f53e2dc7c9f authored almost 3 years agointroduced in #10147 since we blocked the first-arg mechanism on subcommands
4f19b4d0c1a40c7853557da31bc3c2c8dc101530 authored almost 3 years ago
Currently, CLUSTER NODES is parsed and was not done correctly for IPv6
addresses.
Add `DEPRECATED` doc_flag.
7ef68cd5ec23f1d03657cb43a0966d4e7ff877d1 authored almost 3 years agoAdd a new REDISMODULE_EVENT_CONFIG event type for notifying modules when Redis configuration cha...
23f03e7965649ca3bbdac8d5e9bd64f4e8c37b2c authored almost 3 years ago`Expected '*table size: 4096*' to match '*table size: 8192*'`
This test failed once on daily ...
45d83fb2d49c9d44249265b3ccb63cd39fa50501 authored almost 3 years ago
Apparently using `\x` produces different results between tclsh 8.5 and
8.6, whereas `\u` is mor...
Normally, `redis-cli` escapes non-printable data received from Redis, using a custom scheme (whi...
e3ef73dc2a557232c60c732705e8e6ff2050eba9 authored almost 3 years agoCluster node name is not null terminated, so need to be constrained.
af6d5c5932fa4fc1a0461af5e3df50e9c284c4f9 authored almost 3 years ago1. since ZSKIPLIST_P is float, using it directly inside the condition used to causes floating po...
feb032fd42d24959c0ba141d8fb5d621f0570345 authored almost 3 years ago
In order to resolve some flaky tests which hard rely on examine memory footprint.
we introduce ...
* Moved configuration storage from a list to a hash table
* Configs are returned in a non-deter...
21aabab4013a651420e954fe1ae6ad06cc6e5a15 authored almost 3 years ago
* Fix memory leak in RM_StreamIteratorStop
* Fix memory leak in moduleFreeKeyIterator
9478d5a1343f81c416334025fba0c9c1559ed105 authored almost 3 years ago
After introducing #9822 need to prevent client reply buffer shrink
to maintain correct client m...
re-generate help.h from commands.json
fa5d90069f921eaecce98d15ea3d66ee34e32e9f authored almost 3 years ago
* The type of node-id should be string, not integer.
* Also improve the CLUSTER SETSLOT help me...
a6fd23753701a6700fc1e9d4d9d2c3404ab02890 authored almost 3 years ago
This PR fix 2 issues on Lua scripting:
* Server error reply statistics (some errors were counte...
Adds `-3` option to cause redis-benchmark to send a `HELLO 3`
to it can benchmark the effects o...
35fccd875a3bbd8b0e66ce9d7bf47d5a6ce94ded authored almost 3 years ago
Avoid deferred array reply on genericZrangebyrankCommand() when consumer type is client.
I.e. a...
This is basically just a subtree pull of the latest (unreleased) hiredis.
Unfortunately, the ...
e8c5b66ed2aaf40bec345ff5aca90721fb707d30 authored almost 3 years ago
Add a comma, this would have resulted in missing newline in the message.
Forgot to add in #9127
Adds the ability to track the lag of a consumer group (CG), that is, the number
of entries yet-...
Avoid sprintf/ll2string on setDeferredAggregateLen()/addReplyLongLongWithPrefix() when we can us...
b857928ba7b1d40ef96de7b94bf115e2e59e3075 authored almost 3 years agoIn case HELLO message received from another sentinel, with same address like another instance re...
a7179e75705aab90b155d0512d7e8e0fffd60383 authored almost 3 years ago
The test will fail on slow machines (valgrind or FreeBsd).
Because in #10256 when WATCH is call...
argument was missing, affecting redis.io docs
de6be8850f1cec69263ad4f5713ef06f0274d50e authored almost 3 years ago
There are scenarios where it results in many small objects in the reply list,
such as commands ...
When WATCH is called on a key that's already logically expired, avoid discarding the
transactio...
Current implementation simple idle client which serves no traffic still
use ~17Kb of memory. th...
This implements the following main pieces of functionality:
* Renames key spec "CHANNEL" to be ...
* Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF
* mark SLAVEOF as deprecated
Since we didn't copy the null terminator to temp_filepath, dirname could return the wrong result.
4916d79fbdbfdb4819f11a6c2c22a7b576e1c6e7 authored almost 3 years ago
Make sure the status return from loading multiple AOF files reflects the overall
result, not ju...
This is a followup work for #10278, and a discussion about #10279
The changes:
- fix failed_...
This includes two fixes:
* We forgot to count non-key reallocs in defragmentation stats.
* Fix...
Consider the following example:
1. geoadd k1 -0.15307903289794921875 85 n1 0.3515625 85.0001926...
There is no variable named by REPL_STATE_RECEIVE_PSYNC_REPLY, it should be REPL_STATE_RECEIVE_PS...
9b0fd9f4d0e7e41f3cc78b4bd37619b574246aef authored almost 3 years ago
publishshard was added in #8621 (7.0 RC1), but the publishshard_sent
stat is not shown in CLUST...
Add aof_rewrites and rdb_snapshots counters to info.
This is useful to figure our if a rewrite ...
Modifications of this PR:
1. Support the verification of `Multi Part AOF`, while still maintain...
* Provide a fallback static_assert implementation
* Use sds for clusterNode.hostname
cca3577503037117f497085d7994af944c0379e5 authored almost 3 years ago
* Drop obsolete initialization calls.
* Use decoder API for DH parameters.
* Enable auto DH pa...
Reapply this commit on top of hiredis as a local change. Previosuly it
was pulled from a private...
886a04c2c3899611b352e87070aa874e321f9034 authored almost 3 years ago
f8de9a4bd Merge pull request #1046 from redis/rockylinux-ci
a41c9bc8b CentOS 8 is EOL, switch to...
In order to make sure no more commands processed, we wait that
the 'load handlers' will disconn...
This PR handles several aspects
1. Calls to RM_ReplyWithError from thread safe contexts don't v...
sometimes you just wanna run one test on one system (e.g. memefficiency
on macos), so you want ...
Added regression tests for #10020 / #10081 / #10243.
The above PRs fixed some crashes due to an...
Remove scripts defragger since it was broken since #10126 (released in 7.0 RC1).
would crash th...
The bug is introduced by #9323. (released in 7.0 RC1)
The define of `REDISMODULE_OPTIONS_HANDLE...
In multi-part aof, We no longer have the concept of `RDB-preamble`, so the related logs should ...
a2f2b6f5b19569b5e414a2b9099aa880c070e1ac authored almost 3 years agoa5d17f0b6c85ade94ea04ef7645752398424910c authored almost 3 years ago
Use binary representation for key values dumped crash to log,
so that if they contain null char...
Co-authored-by: yoav-steinberg <[email protected]>
88795f5cba1fae8dab6b04cb68c4c80f06c0297c authored almost 3 years agoAdd test for AUTH with too many arguments
64e1e7e207eced22ca348d76fd5653698d931546 authored almost 3 years agoappend for PR #9812
ceeff6bf86e6b5cf35f528a1dd969ae060554228 authored almost 3 years ago* Fix INFO SENTINEL memory leak
Introduced in #6891
* remove the copy-paste sentence
beb94c901e814f63fe1170d72104c81d62fa663a authored almost 3 years agoFixed some syntax errors in the comments
051cc3d2e630d0c2bb84495c6f6df0237684421e authored almost 3 years ago
The theory is that a replica gets disconnected from within REPLCONF ACK,
so when we go up the s...
There are two issues in SENTINEL DEBUG:
1. The error message should mention SENTINEL DEBUG
2. ...
34c288fe11dd690686a294f55f0be60e9c5b629d authored about 3 years ago
There's an assertion added recently to make sure that non-write commands don't use lookupKeyWrit...
b571c9609da99a62e79de1ca268f3c4431e5f38d authored about 3 years ago
This is an enhancement for INFO command, previously INFO only support one argument
for differen...
This PR handles inconsistencies in errors returned from lua scripts.
Details of the problem can...
Fix #7021 #8924 #10198
# Intro
Before this commit X[AUTO]CLAIM used to transfer deleted entr...
- add COMMAND GETKEYSANDFLAGS sub-command
- add RM_KeyAtPosWithFlags and GetCommandKeysWithFlag...
The protocol error was caused by the buggy `writeHandler` in `redis-benchmark.c`,
which didn't ...
9a0ab2fbbfe7824cc9d611689af3ae65797d3554 authored about 3 years ago
If summary or since is empty, we used to return NULL in
COMMAND DOCS. Currently all redis comma...
Fix redis-cli with sentinel crash due to SENTINEL DEBUG missing summary
Because SENTINEL DEBU...
b95beeb595c94649cfda4b2bd8049cf5ddb07868 authored about 3 years ago
Changes:
1. Adds the `redis.acl_check_cmd()` api to lua scripts. It can be used to check if the...
In #9788, now we stores all persistent append-only files in
a dedicated directory. The name of ...
d6e9cde595de635b9f895a978b5c79e8996f66db authored about 3 years ago
So far we only tested attributes using readraw, not the
resp parser caches them, so that after ...
when we fail opening `/proc`, we need to close the log file fd.
91cc2059f5566ca7d22557df7fe47860d93d0009 authored about 3 years ago`PSYNC replicationid str_offset` will crash the server.
The reason is in `masterTryPartialRes...
344e41c92228f3b8aade6220c48b7d8c6e7817a7 authored about 3 years ago6ebb679f061b357b46e07898b4f72505ff5f3778 authored about 3 years ago
make sure the scripts are executable
c42b1633321563da3143638e9d9f2fa470f11b2d authored about 3 years agoThis is a followup to #9656 and implements the following step mentioned in that PR:
* When po...
5b17909c4f69830e93a569b6e4994c9775657e35 authored about 3 years ago
1. Update fcall.json and fcall_ro.json
2. Update command.c
3. Update help.h
Adds RM_SetCommandInfo, allowing modules to provide the following command info:
* summary
* ...
Change the sentinel config file to a directory in SENTINEL SET test.
So it will now fail on the...
Introduced in #10128
d2fde2f6557a0c2f2963a0a0fb626510af62f545 authored about 3 years agoWhen performing `SENTINEL SET`, Sentinel updates the local configuration file. Before this commi...
65ef543f8cc4d470f554f06e50594e85aad0d617 authored about 3 years ago
Add check enough good slaves for write command when evaluating scripts.
This check is made befo...
The script which generates the markdown docs from module.c is updated to include
the version in...
add more test cases for addslotsrange and delslotsrange
c9e1602f9016c169e1e72ce305aab53cbc97c616 authored about 3 years agoupdate function help message, changed DESC->DESCRIPTION (doc was outdated)
8eb19cc251ae7bfd5c2fda9d4515b9ddfc5e2476 authored about 3 years agoedc050cc5793e0c8f3814ad83d49bbd62686a809 authored about 3 years ago
948285de39e0c19463a99e73c621298d30ec6a87 authored about 3 years ago
This is done to avoid a crash when the timer fires after the module was unloaded.
Or memory lea...