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
before releasing 7.0.1
b0272252f7ade8dd9894d9375a456c5da7f994b1 authored over 2 years agoTrying to avoid people opening crash report issues about module crashes and ARM QEMU bugs.
475563e2e941ebbdb83f50474bf2daa5ae276fcf authored over 2 years ago
A supplement to https://github.com/redis/redis/pull/10062
Split `instantaneous_repl_total_kbps`...
On line 4068, redis has a logical nodeIsSlave(myself) on the outer if layer,
which you can dele...
247e792bde45ab36cbbaecad5c7f9d5660bbff01 authored over 2 years ago
* Update time independent string compare to use hash length
4ad166235efe0fc2662e5e91b3b3429b51ce4862 authored over 2 years agoRedis 7 adds some new alias config like `hash-max-listpack-entries` alias `hash-max-ziplist-entr...
a18c91d6423777dffd6afca80d32bf1964f449e6 authored over 2 years agoSkip the print on AOF_NOT_EXIST status.
aae0ec255327e431221f3946b953321246fc8a3b authored over 2 years ago
A regression from #10285 (redis 7.0).
CONFIG REWRITE would put lines with: `include`, `rename-c...
Apparently, GCC 11.2.0 has a new fancy warning for misleading indentations.
It prints a warning...
The important part is that read-only scripts (not just EVAL_RO
and FCALL_RO, but also ones with...
* Fix broken protocol when redis can't persist to RDB (general commands, not
modules), excess...
Move the client flags to a more cache friendly position within the client struct
we regain the ...
This allows the module to know the usable size of an allocation
it made, rather than the consum...
since the sharded pubsub is different with pubsub, it's better to give users a hint to make it m...
805191c791e1f84618c1f69dacec27ac3fecd1e4 authored over 2 years ago
The amount of `server.stat_net_output_bytes/server.stat_net_input_bytes`
is actually the sum of...
To easily distinguish between sharded channel message and a global
channel message, introducing...
When I read the source codes, I have no idea where the option "age" come from.
Co-authored-...
d7ae858745f722b845d3540a437f89a7fb8d0bb2 authored over 2 years ago
* Add readonly flag to EVAL_RO, EVALSHA_RO and FCALL_RO
* Require users to explicitly declare @...
This bug resulted in wrong memory usage statistics after a redis function library is removed.
...
7a550c8bbbf55bdc56a45b9c728b45408d620bc5 authored over 2 years ago
The ret value should be AOF_OK instead of C_OK.
AOF_OK and C_OK are both 0, so this is just a c...
fix typo ` the largest possible limit is 16k` -> ` the largest possible limit is 64k`.
The coun...
There is a timing issue reported in test-sanitizer-address (gcc):
```
Sentinels (re)connection...
When `zrangestore` is called container destination object is created.
Before this PR we used t...
There are some commands that has the wrong key specs.
This PR adds a key-spec related check in ...
Clearly more than one flag exists, also fixed some typos.
Fixes #10776
instead of printing a log when a folder or a manifest is missing (level reduced), we print:
t...
f28e2ce7a4cf4a82d367c106eee4b3113b85bcbf authored over 2 years ago
Added the function name/script sha to the script timeout log message.
This info existed in the ...
The regex support was added in:
* https://github.com/redis/redis/pull/9352
* https://github....
This bug was introduced in #9484 (7.0.0).
It result that BZMPOP blocked on non-key arguments.
...
This PR does 2 main things:
1) Add warning for suspected slow system clocksource setting. This ...
Scripts that have the `no-writes` flag, cannot execute write commands,
and since all `deny-oom`...
The code is based on upstream https://github.com/HdrHistogram/HdrHistogram_c
master branch late...
Remove some dead code in object.c, ziplist is no longer used in 7.0
Some backgrounds:
zipmap...
si is initialized by streamIteratorStart(), we should call
streamIteratorStop() on it when done...
Finish current loop and display the scanned keys summery on SIGINT (Ctrl-C) signal.
It will als...
minor cleanup in redismodule.h and module.c
60250f50c2f308d301fb0bfcb6d07faa2560ce60 authored over 2 years agowas present in the C file and missing in the header.
f62d52a5ad794513ca21168becfd06c532d2b704 authored over 2 years ago
We observed from our replication testing that when the master becomes unresponsive,
or the repl...
sometimes it is using `scriptIsRunning()` and other times it is using `server.in_script`.
We sh...
4b262182d95f286222039ee52fc420eb1f9bb955 authored over 2 years ago
Alias was mistakenly forgotten when the sub commands introduced as json files.
acd517c88331d0678957e09486aad3453e746ad0 authored over 2 years ago
Updated the comments for:
info command
lmpopCommand and blmpopCommand
sinterGenericCommand
...
The purpose of the test is to kill the child while it is running.
From the last two lines we ca...
This fixes a possible regression in Redis 7.0.0, in which doing CONFIG SET
on a TLS config woul...
b414605285244c453f3fadbbe7a157cd83ed5f59 authored over 2 years ago
Before this commit, all source files including those that are not going
to be compiled were use...
## Take one bulk string with spaces for MULTI_ARG configs parsing
Currently redis-server looks ...
## FLUSHALL
We used to restore the dirty counter after `rdbSave` zeroed it if we enable save.
...
Fix #10552
We no longer piggyback getkeys_proc to hold the RedisModuleCommand struct, when ex...
815a6f846a3836b87a4601e5ce6152d8d534dce1 authored over 2 years agoI suggest to use "[fpclassify](https://en.cppreference.com/w/cpp/numeric/math/fpclassify)" for f...
c2d8d4e648faa172a65a88fcffaf4ccc10a1ad78 authored over 2 years ago
It used to returns slots as strings, like:
```
redis> cluster shards
1) 1) "slots"
2) 1) ...
Set `old_li` to NULL to avoid linking it again on error.
Before the fix, loading an already exi...
Changed cursor's type from `int` to `unsigned long`
allows handling database or key with more t...
fix some typo in "t_zset.c".
1. `zzlisinlexrange` the function name mentioned in the comment is...
Unintentional change in #9644 (since RC1) meant that an empty `--save ""` config
from command l...
If we want to support bits that can be overlapping, we need to make sure
that:
1. we don't use...
Fixed RM_Scan() usage example: `RedisModuleCursor` -> `RedisModuleScanCursor`
8fc959216cbea4af100dd38011a1b5466d0628bb authored over 2 years agoalso fixing already defined constants build warning while at it.
Co-authored-by: Oran Agra <o...
bdcd4b3df81fdd7247a3fd1f1013e5cb8bae7659 authored over 2 years agothis seems to have been an oversight. syncing the flags so that NOTIFY_NEW is available to modul...
4e761eb7e2a4317f1ca27bf04e68c87e0e81d137 authored over 2 years ago* Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/githu...
ff3a3577f29a07e965b3b38d07894410d28da499 authored over 2 years ago* Module API doc script: Mark unreleased API functions
* fix broken quotes in generate-module...
ced710fc8304fd24251514c87bd15008b2a3b1dd authored over 2 years ago
In general, our error handler make sure the error
object is always a table. In some rare cases ...
When user uses the same input key for SDIFF as the first one, the result must be empty, so we do...
87131a5fa612c0d2b688fc65c722ebc95ae8f42a authored over 2 years agoupdate macros ZIPLIST_ENTRY_END i think the right definition is ((zl)+intrev32ifbe(ZIPLIST_BYTES...
9c39256a28eff24e16ca373a02729e775e37d05a authored over 2 years ago
Till now, on MacOS we only used to enable SO_KEEPALIVE,
but we didn't set the interval which is...
`the redis object pointer was populated.` -> `the sds pointer was populated.`
We don't populate...
add a comment to `container` in `quicklist.h`.
Because `PLAIN` and `PACKED` are not as easy to ...
6c65345edb891da558a6cf53861e98bf2e0dbb63 authored over 2 years ago
f36eac9f68308e712c3f10de11c05982df03b0c6 authored over 2 years ago
# Lua readonly tables
The PR adds support for readonly tables on Lua to prevent security vulner...
Followup fix for #10616
e24d46004b115adb57c0a67e64081e5f6692188a authored over 2 years ago
The white list is done by setting a metatable on the global table before initializing
any librar...
Use the new `lua_enablereadonlytable` Lua API to protect the global tables of
both evals scripts...
The new feature can be turned off and on using the new `lua_enablereadonlytable` Lua API.
8b33d813a3d47d4daeaaef03b7e42a51f6931f79 authored over 2 years ago
Today, Redis wrap the user Lua code with a Lua function.
For example, assuming the user code is:...
Enables registration of an enum config that'll let the user pass multiple keywords that
will be...
Changes:
- When AOF is enabled **after** startup, the data accumulated during `AOF_WAIT_REWRI...
46ec6ad98e6d118bd98a447dcd2307e80bb0fcd6 authored over 2 years ago
The SHUTDOWN command has various flags to change it's default behavior,
but in some cases estab...
Missing a typeof, we will get errors like this:
- multiple definition of `replicationErrorBehav...
* Till now, replicas that were unable to persist, would still execute the commands
they got f...
Adds the `allow-cross-slot-keys` flag to Eval scripts and Functions to allow
scripts to access ...
A change in #10612 introduced a regression.
when replying with garbage bytes to the caller, we ...
minor cleanup for recent changes.
119ec91a5aa9b655d700d911eae68e8a5fa694d4 authored over 2 years ago
fix an unclear comment quicklist container formats to quicklist node container formats
Add a co...
1. Disk error and slave count checks didn't flag the transactions or counted correctly in comman...
df787764e37ba5958d5b902eef3847ec7185b156 authored over 2 years ago
This case is interesting because it originates from cron,
rather than from another command.
...
21e39ec461cf412609475054a9755941df9365bf authored over 2 years ago
This avoids random memory spikes and enables --large-memory tests to run
on moderately sized sy...
If was first added in #9890 to solve the problem of
CONFIG SET maxmemory causing eviction insid...
* Fix timing issue in slowlog redact test
This test failed once in my daily CI (test-sanitize...
a6b3ce28a8050b257659db479a3c8f1d38edbfd1 authored over 2 years ago698e7cbba68aaef86da731ca350279403acdd568 authored over 2 years ago
fix typo. `LCS[j+(blen+1)*j]` -> `LCS[j+(blen+1)*i]`
719b7665860674b9dcf69c4141fb19727b03a250 authored over 2 years ago
In #7491 (part of redis 6.2), we started using the monotonic timer instead of mstime to measure
...
This PR unifies all the places that test if the current client is the
master client or AOF clie...
We should stop RDB child in advance before flushing to reduce COW in diskless replication too.
...
`hdr_value_at_percentile()` is part of the Hdr_Histogram library
used when generating `latencys...
Add a configuration option to attach an operating system-specific identifier to Redis sockets, s...
aba2865c8680326e148ba6eb4cb6f6e7ab5119a3 authored almost 3 years agosome skip tags where missing on some tests....
a1c85eebf4aaac0727456329e2f18bd99d23dfbe authored almost 3 years agoImprove comments to explain the code
Co-authored-by: moticless <[email protected]>
Co-aut...
Changes:
1. Check the failed rewrite time threshold only when we actually consider triggering a...