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. Add `redis-server test all` support to run all tests.
2. Add redis test to daily ci.
3. Add...
53774e69fa68450859a566e84f06d4b8a7a53eca authored almost 4 years ago
1ccfd6a1f79aee9e601092b2b0e6e1c68901deaf authored almost 4 years ago
Co-authored-by: Harkrishn Patro <[email protected]>
25f8d4fb4180f0eb893b1ea0e6ba973bab77b0f5 authored almost 4 years ago
The obtained process_rss was incorrect (the OS reports pages, not
bytes), resulting with many o...
When a quicklist has quicklist->compress * 2 nodes, then call
__quicklistCompress, all nodes wi...
817894c012ee67cdf8e33e0a098025f65521ba42 authored almost 4 years ago
It seems like non-Linux sockets may be less greedy, resulting with more
transient client output...
Scenario:
1. A module client is blocked on keys with a timeout
2. Shortly before the timeout e...
The result of `sdscatprintf` is doubled when using argument twice.
20377a6f3d7e5159df22b91555f70292e3b39f04 authored almost 4 years agof491eee2a1ef44b0b62380ee07f873e0c22be5e0 authored almost 4 years ago
e8e6ca630934ff2fa5581aced1dc0dad110d8b40 authored almost 4 years ago
367ba4125fa08440f1e33799ccf2fedfe88129aa authored almost 4 years ago
3d9c6a7ce60f58ca087cbd533d9b769a8a455309 authored almost 4 years ago
Remove unused latency variable from redis-cli
55c74617d754ee3b3112fa5146aeba425ac53db8 authored almost 4 years ago* The `redis-cli --scan` output should honor output mode (set explicitly or implicitly), and quo...
3c7d6a185329f2dc20c82a29bdbe125d5ad4140b authored almost 4 years ago
When the length of the quicklist is 1(only one zipmap), the rotate operation will cause
memory ...
Since the API declared (as #define) in redismodule.h and uses
the CLIENT_ID_AOF that declared i...
This solves the problem of /dev/random and /dev/urandom open file
descriptors leaking to childs...
When no connected clients variables stopped being updated instead of being zeroed over time.
...
fba391ae66a6527ca5dba9025b6fb57c35dd65d9 authored almost 4 years ago257009afff0ca9b299bd6e70ed439bab9186be56 authored almost 4 years ago
Co-authored-by: Oran Agra <[email protected]>
5d180d28349b36a177f9d70edb12bb27e88e8c61 authored almost 4 years agoFixes #8574
0bad00d0499d79c6367f340e7dfc641071f002b8 authored almost 4 years agothe tests were unable to connect to the server since the attempted to use normal tcp
c19530bc71760ce45ac1404272c13553a061fcb8 authored almost 4 years ago
When sanitizing the stream listpack, we need to count the deleted records too.
otherwise the la...
Add ability to modify port, tls-port and bind configurations by CONFIG SET command.
To simpli...
a031d268b127d67969e9a4ec6b728dbb321ea0ce authored almost 4 years ago
Because when the RM_Call is invoked. It will create a faker client.
The point is client connect...
The arm_thread_state64_get_pc used later in the file is defined
in mach kernel headers. Apparen...
DB ID used to be parsed as a long for SWAPDB command, now
make it into an int to be consistent ...
This could happen on an invalid use, when trying to create a cluster with
a single node and pro...
Adding RM_GetClientUserNameById to get the ACL user name of a client connection.
17c226b070ef4ecdbcc5b4b5b0afe571f0f1a948 authored almost 4 years ago
A single client pointer is added in the server struct. This is
initialized by the first RM_Call...
Moved additional configs to generic infrastructure.
4a474843fbd018cd323971b57dec976d7ad0278d authored almost 4 years agoAfter reconnect, the prompt was showing the db ID and multi state of the previous connection.
7d43159a7dab7d8e85709dfdfc74cb589db3cc70 authored almost 4 years ago
* Add better control of malloc_usable_size() usage.
* Use malloc_usable_size on alpine libc dai...
c6f0ea2c81ffd5452dc6373d79786fdec8874b20 authored almost 4 years ago
60d5ef4d828bc8732ac1d4c274471655a13d667d authored almost 4 years ago
This aligns better with other commands, specifically XADD
21316d57090768fe2d5ff3dd5edcb328137aaaca authored almost 4 years ago
Fix command arity.
Other than key name it must at least take the trimming strategy and it's limit
This commit fixes a bug in what's currently dead code in redis.
In quicklistDelRange when del...
965356ae63487dafeec378d1821201800b91307e authored almost 4 years agod1b5767a82889cfcd9c691131512262827059793 authored almost 4 years ago
ae7d5bf6172e4597a859605268dd960c198ed935 authored almost 4 years ago
not ACL_DENIED_AUTH
e3667cb908f70d3ffb04a3d5b095f91f9cc7ee97 authored almost 4 years agoserver may still be LOADING the RDB when receiving the ping
f745c0181a827927b220caafe6ccd9a5291907f3 authored almost 4 years agoAlso adds a new daily CI test, relying on the fact that we don't use malloc_size() on alpine lib...
dd885780d67f18f356a5652ab6d4f947ee035305 authored almost 4 years ago* Remove linux/version.h dependency.
This introduces unnecessary dependencies, and generally ...
95ea74549cc454d6d6a7462b366462589cd96712 authored almost 4 years ago8e83bcd2acb18370e2d6cea3718339792322e80f authored almost 4 years ago
On 32-bit systems, setting the proto-max-bulk-len config parameter to a high value may result wi...
d32f2e9999ce003bad0bd2c3bca29f64dcce4433 authored almost 4 years agoThis validation was only done for sub-commands and not for commands.
These would have been va...
4739131ca6c966592dce739b9330a989eb6b6b2e authored almost 4 years ago
If we set stream-node-max-bytes = 0, then we insert entry then delete,
do this many times, the ...
SRANDMEMBER with negative count (non unique) can return the same member
multiple times, and the...
When milliseconds == LLONG_MAX / 1000, *1000 will not overflow.
362f2a84bd67a1b65d810b064163e8432c79138e authored almost 4 years ago
Originally this was limited to IPv6 address length, but effectively it
has been used for host n...
When redis responds with tracking-redir-broken push message (RESP3),
it was responding with a b...
Respond with error if expire time overflows from positive to negative of vice versa.
* `SETEX...
0772098b1b8587266e3a459d9b1225e6e5d4ce58 authored almost 4 years ago
The `dict` field `iterators` is misleading and incorrect.
This variable is used for 1 purpose ...
fixes timing issue, fork didn't always get to set the oom score before the test verified it.
46346e9e3a30d0d3c52dd21a2ce93898005c7ad9 authored almost 4 years agoRemove redundant pubsub list to store the patterns.
303465af35c13691f989b3400b028a94df1235d4 authored about 4 years agoValgrind warns about `write` accessing uninitialized memory, which was the struct padding.
71ab81ec69f04c218820b4c9151cb9f7c1bd833b authored about 4 years ago
Avoid repeated reallocs growing the listpack while entries are being added.
This is done by pre...
* Adding current_save_keys_total and current_save_keys_processed info fields.
Present in repl...
Less heap allocations when commands like LMOVE push integer values.
683e530cf3c3e71266b8d18073fd026da9de4ddb authored about 4 years ago
Avoids memmove and reallocs when replacing a ziplist element of the
same encoded size as the new...
f521498b43a8edcec01c88dc7361eaac460f2f6c authored about 4 years ago
There are two tests in other.tcl that were dependant of the sha1 package
import which meant tha...
b1929bb2b6145e28335ed988589caacf57087171 authored about 4 years ago
Fixes #8489
141ac8df59c1d77e2f2a10792ff34b26eb13bcf0 authored about 4 years agothis should make it timing independent and also faster in most cases
30775bc3e3a919e6a168523e772551332738e9f3 authored about 4 years ago
The added flag affects the return value of RM_HashSet() to include
the number of inserted field...
Fix the pointers to the slot hash tags in the case of prefixed commands usage
i.e. AUTH / SELEC...
* Don't run test script on non-Linux.
* Verify that reported fds do indeed exist also in parent...
We need to store replicas referenced by their announced address (IP or
address). Before that, i...
The `resolve-hostnames` and `announce-hostnames` parameters were not
specified correctly accord...
- removes time sensitive checks from block on background tests during leak checks.
- fix uninit...
Moved most static strings into the shared structure
899c85ae67631f4f9f866a254ac5e149b86e5529 authored about 4 years ago4554a49d32c5c0921f251262f2fbe02d7ac64b59 authored about 4 years ago
1. Rename 18-cluster-nodes-slots.tcl to 19-cluster-nodes-slots.tcl.
it was conflicting with a...
Fix typo and some out of date comments
8f9958dc24fa5992d3d10f6b9caf999e1beee4e5 authored about 4 years ago
* For consistency, use tclsh for the script as well
* Ignore leaked fds that originate from gra...
The test failed from time to time on Github actions.
We think it's possible that on the module'...
When (remaining == (total_size - index)), element will definitely be random to.
But when rand()...
88272cf7ac926eb0be74d6ec6f0d0ba0afaa7102 authored about 4 years ago
It is inefficient to repeatedly pick a single random element from a
ziplist.
For CASE4, which ...
use SIGSTOP instead of DEBUG SLEEP, reduces the test
time by some 2 seconds and avoids failures...
Github started shifting some repositoreis to use ubuntu 20.04 by default
tcl8.5 is missing in t...
Dump the entire server log if a test failed, to easy troubleshooting
with no access to log files.
Disable certificate validation, making it possible to connect to servers
without configuring fu...
Without this fix, RM_ZsetRem can leave empty sorted sets which are
not allowed to exist.
Rem...
aea6e71ef82701e07177744e600e1ef20d60b7d0 authored about 4 years agob3bdcd2278d1822d861d6e4c6b9688e6b0a33d37 authored about 4 years ago
Changes to HRANDFIELD and ZRANDMEMBER:
* Fix risk of OOM panic when client query a very big neg...
Issue with new test due to longitude wraparound.
b7b23a0ff50b6d921528289173d6edb6cc1f643a authored about 4 years ago
Fix errors of GEOSEARCH bybox search due to:
1. projection of the box to a trapezoid (when the ...
52fb3065357afcf14f38a12760eb4edd75158ad9 authored about 4 years ago
* Add bash temporarily to allow sentinel fd leaks test to run.
* Use vmactions-freebsd rdist sy...
This commit provides an optimization, in terms of time, for all GEORADIUS*
and GEOSEARCH* searc...
addReplyLongLongWithPrefix, has a check against negative length, and the code
flow removed in t...
This bug would have let users observe logically expired keys on replicas and
during CLIENT PAUS...
b57d0eb418dd8622bfc054239320ad7de9ccd752 authored about 4 years ago
These tests are not yet stable. on github actions they show some false leaks.
8f27578de294aca6e94943976943bc5224e39fd1 authored about 4 years ago
* The corrupt dump fuzzer found a division by zero.
* in some cases the random fields from the ...