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
7cb42c9c36bbf410205742b2bc0cb95aeaefdc51 authored over 3 years ago
An integer overflow bug in Redis version 6.0 or newer can be exploited using the
STRALGO LCS co...
The test that was merged yesterday fails with valgrind and freebsd CI
that are too slow, and 10...
Without this fix, FLUSHALL ASYNC would have freed these in a background thread,
even if they di...
Make aof rewrite buffer memory size more accurate, before, there may be 20%
deviation with its ...
Till now, on replica full-sync we used to transfer absolute time for TTL,
however when a comman...
In diskless replication, we create a read pipe for the RDB, between the child and the parent.
W...
fix for recent breakage from #8958, did a mistake when updating the pr.
be6ce8a92a9acbecfaaa6c57a45037fc1018fefe authored over 3 years agoae6f58690b91010d003cdf5552d74b8e5b428d53 authored over 3 years ago
Already verified that start < len, so if end >= len, then start cannot be > len.
a319327ffb0f13c60c8146fc01d5354ab4fd35a3 authored over 3 years ago
When test stop 'load handler' by killing the process that generating the load,
some commands th...
In theory we should have used zmalloc_usable_size, but it may be slower,
and now after #7875, t...
According jemalloc size classes, we may allocate much more memory
than our setting of repl_back...
Redact commands that include sensitive data from slowlog and monitor
a59e75a475782d86d7ce2b5b9c6f5bb4a5ef0bd6 authored over 3 years ago
I recently saw this failure:
[err]: lazy free a stream with all types of metadata in tests/unit...
which make interleaved_len bigger and may access array out of range.
ed2602ab99a907da7023a0a8726a3fa986cbde12 authored over 3 years ago20268d04c0e09d4c086b936df7a8c6783906c9b5 authored over 3 years ago
when string2ll was made to replace isStringRepresentableAsLongLong
(which was similar to what r...
incrementing the defragged hits counter twice in activeDefragSdsListAndDict
09a99fcd5f6b3dd56a909a3a975024f22a2ce0ea authored over 3 years ago
These parameters of RedisModule_CreateCommand were previously
undocumented but they are needed ...
This parameter of type GeoHashRadius is 192 bytes - passing a `const` pointer instead.
e5a892829099634d6fcd7528bff7fd99155b999e authored over 3 years agothe test normally passes. but we saw one failure in a valgrind run in github actions
8458baf6a96fa6c6050bac24160f82d32a0b9ed4 authored over 3 years ago
As far as i can tell it shows up in redis-cli in both HELP, e.g.
`help client list`, and also i...
cf41c0b5ff72cf09d2e99c1807c6347bdcfdcacd authored over 3 years ago
Currently in redis-cli only AUTH and ACL SETUSER bypass history
file. We add CONFIG SET mastera...
There's an infinite loop when redis-cli fails to connect in cluster mode.
This commit adds a 1 ...
Improve performance by avoiding inefficiencies in the parent process during AOFRW.
* AOF: recor...
And also add tests to cover lazy free of streams with various types of
metadata (see #8932)
There are two bugs in redis-cli hints:
* The hints of commands with subcommands lack first para...
this patch fixes sinterstore by add missing keyspace del event when any source set not exists.
...
Moved security bugs and vulnerability policy to SECURITY.MD and extended security policy.
Co-...
df4d916007c285d01b11193272419ab228916d8a authored almost 4 years ago* EVALSHA_RO and EVAL_RO Commands
Added new readonly versions of EVAL
and EVALSHA.
Check for errors in inet_ntop and snprintf rather than ignore them
and return success (with gar...
8526e04e7b5074944f95fafc9f19bd1b4d4a3a47 authored almost 4 years ago
When estimating the effort for unlink, we try to compute the effort of
the first group and extr...
Also fixes a chance for compilation error if REDIS_TEST_VERBOSE would be used.
fb66c1b58cbf84ad5372a2c793399d9301564da5 authored almost 4 years ago4d4db9797fd684185dae476747069b54243f1e83 authored almost 4 years ago
also, print errors to stderr rather than stdout
d32fd315886a45426e8f6991ab8879b9a7756443 authored almost 4 years agoUse function instead of code in dict.c and delete dead code in dict.h
56976ffb4940b95cc3746b115d7f957c9e4b20f8 authored almost 4 years ago57b94eacaa64591295c9f9f9bb50eed9ed8b9a54 authored almost 4 years ago
when SELECT fails, we should reset dbnum to 0, so the prompt will not
display incorrectly.
A...
6b475989984bb28499327e33cc79315d6264bc06 authored almost 4 years ago
Redis Enterprise supports the CONFIG GET command, but it replies with am
empty array since the ...
Always 0 MB of memory used by copy-on-write, introduced in #8645.
81e2d7272b784273099fecd85b15473277296771 authored almost 4 years agoMinor code cleanup.
bcc519fa7cef85adf182af0cfa4aa67a71ad90b9 authored almost 4 years agoa62801eb534d78163ea53bd0cd39063621a53ead authored almost 4 years ago
When client breached the output buffer soft limit but then went idle,
we didn't disconnect on s...
fd7d51c353607f350c865155444bce9236f3d682 authored almost 4 years ago
An integer overflow bug in Redis version 6.0 or newer could be exploited using
the STRALGO LCS c...
An integer overflow bug in Redis 6.2 could be exploited to corrupt the heap and
potentially resu...
611e11734c4e5f4dc1671bf53568732810682e0b authored almost 4 years ago
f3ee2d98af6262ae54f618424ff847a1128277ec authored almost 4 years ago
This fix is in dead code.
see redisOutOfMemoryHandler an allocation can't fail.
but maybe some...
5100ef9f8246dec6590f35f6b9f0b88c2dea0cfb authored almost 4 years ago
prefix args not all args. So when we help commands with subcommands,
all subcommands will be ou...
Remove forward declarations from header files to functions that do not exist.
9c927e9de96b6457cc96e04c26ba6649b5325c8e authored almost 4 years agomissing zfree(data) in redis-benchmark.
And also correct the wrong size in lrange.
the text ...
When redis-cli was used with both -c (cluster) and -s (unix socket),
it would have kept trying ...
- Immediately exit on errors that are not related to topology updates.
- Deprecates the `-e` op...
Use an invalid IP address to trigger CONFIG SET bind failure, instead of DNS which is not guaran...
2b22fffc787e91df789dabf23ddcf19ecf34cf6f authored almost 4 years agoSpecifically we had issues with NTP sync failure which was resolved here: https://github.com/vma...
2e88b0639689a3019e27f55dfa40578847443eeb authored almost 4 years ago3d56be3788a68d81ddb259197b0b2f4149bd94cb authored almost 4 years ago
93e775069959c741b3719a9e85cbe0a82478959c authored almost 4 years ago
This solves an issue reported in #8712 in which a replica would bypass
the client write pause c...
bcf1b384e3a2cc83124684a9d952682b713fe2f0 authored almost 4 years ago
When [WITHCOORD] [WITHDIST] [WITHHASH] are used, the error mentioned GEORADIUS command
4bfcf4654a3ea3253dcce8ef6a8d290f1d6dce72 authored almost 4 years agoebfbb091096b6f36cf82e9f6e6583b10fd5b5acb authored almost 4 years ago
074e28a46eb2646ab33002731fac6b4fc223b0bb authored almost 4 years ago
Most of the ae.c backends didn't explicitly handle errors, and instead
ignored all errors and d...
d1ca1e665f5df75fee6d7e9034b06a9686b7b239 authored almost 4 years ago
Fix clusterProcessPacket log don't distinguish between pong and meet.
Additionally log node nam...
72aa37623762a66f7b67251baa56bb7fe6156bc5 authored almost 4 years ago
8423b77f14c0d3a58e580c65a70b4f980f5cdcf6 authored almost 4 years ago
611959eee55a1fe0fa532a5f878ab5ba2b6b79c4 authored almost 4 years ago
After sorting, each item in picks is sorted according
to its index.
In the original code log...
828ae842b95654f66b03e786588c97d7a0c386a2 authored almost 4 years ago
This change does not fix any bugs.
1. ```moduleUnload``` should return ```C_OK``` or ```C_ERR``...
cc0091f0f9fe321948c544911b3ea71837cf86e3 authored almost 4 years ago
af035c1e1d3bcaf662051cff4dc49f6051321c9c authored almost 4 years ago
e43dbd03f307814ab0f472ccaab44342bbd15039 authored almost 4 years ago
c4a5816ccd05cd0ddbeb87bc061bdb6363027197 authored almost 4 years ago
This prevents a case where NTP moves the system clock
forward resulting in a false detection of...
Modules event subscribers may get wrong things in notifyKeyspaceEvent callback,
such as wrong n...
* Fix typo for compatible
* Trim trailing whitespace
ac36161694697f5f1af78d049ba71285c9cf0dcd authored almost 4 years ago
473588c399de5b7a020d422db636b1ff95ad496e authored almost 4 years ago
9fab26904fc4591de7df5dbfcd9efe846a050d73 authored almost 4 years ago
8636c3e00373a1502e7e2535c6fe660a666f16b4 authored almost 4 years ago
the anetGenericAccept return ANET_ERR but outside use constant -1
Co-authored-by: libo <buaa_...
bb16cf0f4faad53387b6f51f294109f791b1d434 authored almost 4 years agocode cleanup in anetGenericAccept
5f6e166bce95c969d58ea0fcc357a779cc32bdc4 authored almost 4 years agoWhen redis-check-aof finds an error, it prints the line number for faster troubleshooting.
761d7d27711edfbf737def41ff28f5b325fb16c8 authored almost 4 years ago
This scene is hard to happen. When first attempt some keys expired,
only kv position is updated...
Interior rax pointers were not being freed
c73b4ddfd96d00ed0d0fde17953ce63d78bc3777 authored almost 4 years agoc2aff4c74493b921b1ad6868902ba68d647cc1c8 authored almost 4 years ago
61d3fdb474bdb292f8ba40d8aafa175431f26a00 authored almost 4 years ago
Adding a new type mask for key space notification, REDISMODULE_NOTIFY_MODULE, to enable unique ...
53a4d6c3b152a9aa6386c2362400b258cec09ed3 authored almost 4 years ago
Before this commit using RM_Call without "!" could cause the master
to lazy-expire a key (delet...
In the initial release of Redis 6.2 setting a user to only allow pubsub access to
a specific ch...
The tail size of c->reply is 16kb, but in the test only publish a
few chars each time, due to a...
When replica never successfully connect to master, server.repl_down_since
will be initialized t...
Disables #8649 and subsequent attempts to stabilize the test.
c0f5c678c2e848899427160cf468e3727f0b752d authored almost 4 years ago
In github actions CI with valgrind, i saw that even the fast replica
(one that wasn't paused), ...