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
This commit fixes sentinel announces hostnames test error in certain linux environment
Before t...
This commit enables tracking time of the background tasks and on replies,
opening the door for ...
New commands:
`HRANDFIELD [<count> [WITHVALUES]]`
`ZRANDMEMBER [<count> [WITHSCORES]]`
Algori...
The key point is how to recover from last AOF write error, for example:
1. start redis with a...
49b36633324074edd3e06c334d23562edc49159d authored about 4 years ago
Implement FAILOVER command, which coordinates failover
between the server and one of its replicas.
* Indicate address can also be a unix socket path name.
* Document the LADDR option as well.
Make it possible to customize the process title, i.e. include custom
strings, immutable configu...
Useful to avoid doing background jobs that can cause excessive COW
01cbf17ba2c0cd8ef7cbb232c0173deaf346788f authored about 4 years ago
With AOF policy of fsync "always", redis should respect the contract with the user
that on ackn...
APIs added for these stream operations: add, delete, iterate and
trim (by ID or maxlength). The...
This is both a bugfix and an enhancement.
Internally, Sentinel relies entirely on IP addresse...
bb7cd97439aa91698bee192cddd7ceb18d628a00 authored about 4 years agoif option `set-proc-title' is no, then do nothing for proc title.
The reason has been explain...
17b34c73091968a5a37a267f69563c155efe8ce4 authored about 4 years agoAt least in one case the arm64 cow kernel bug test triggers an assert, which is a problem becaus...
3a5049042ac06b6ed5e526f331d5378bf7c7b7ed authored about 4 years agoThis commit introduces two new command and two options for an existing command
GETEX <key> [P...
0367a80819dec9aeb5e3d0972535155fc1c48867 authored about 4 years agoIn activeDefragSdsListAndDict when dict_val_type is DEFRAG_SDS_DICT_VAL_VOID_PTR, it should upda...
f395119eded8294e80918331ebc4948eb5e5e006 authored about 4 years ago
In some scenarios, such as remote backup, we only want to get remote
redis server db snapshot. ...
It was confusing as to why these don't return a map type.
the reason is that order matters, so ...
This commit fixes a well known and an annoying issue in Sentinel mode.
Cause of this issue:
...
Remove check leading to duplicate branches and unused withscores parameter
70789cf4bb15c7d1552c2eff32edfe7b608589ee authored about 4 years ago951d25ff6625e0555038687699b9d9a15dd4e35d authored about 4 years ago
some tests use attach_to_replication_stream to watch what's propagated
to replicas, but in some...
1. Valgrind leak in a recent change in a module api test
2. Increase treshold of a RESTORE TTL ...
BLPOP and other blocking list commands can only block on empty keys
and LPUSH only wakes up cli...
* Print more details about fd leaks
* temporarily prevent the leaks from failing the tests
C...
8449a5df87017361000919d372b520a897c2de07 authored about 4 years agoThe module notification was using the wrong value.
0232778f35e949bb5e0b84f7cc63b230ddbd1c6d authored about 4 years ago
The flag should be set before TLS negotiation begins to avoid a race
condition where a fork+exe...
3f3cb9d09b815869764e74dd52af1994fed55fe6 authored about 4 years ago
Update log message to correctly indicate cluster port range
53cdf8a3d10285208e96980881dcac94314d8686 authored about 4 years agoFix incorrect documentation about default save time
4f9de66f0eb50469767ed05a38c2eb091c9663e5 authored about 4 years agoFixes a regression introduced due to a new (safer) way of rewriting configuration files. In the ...
b548ffabbecca073e241882c22192f682a086242 authored about 4 years agoCo-authored-by: Oran Agra <[email protected]>
ac5f21d613bf4a4883e767389ac5651a4118a5af authored about 4 years ago
the test was misleading because the module would actually woke up on a wrong type and
re-blocke...
The output for COMMAND command was wrong for some commands.
clients can use firstkey,lastkey,st...
Fix broken formatting in `RM_Call` and `RM_CreateDataType`,
`RM_SubscribeToServerEvent` (nested...
6401920d705aedbfc43409f27c8d8e89bfb0e756 authored about 4 years ago
1be29606c56bc747a66c99d6cf31110df51b65b4 authored about 4 years ago
Sentinel uses execve to run scripts, so it needs to use FD_CLOEXEC
on all file descriptors, so ...
The line that said:
Note: you can disable saving completely by commenting out all "save" line...
aaf71b380ed5ef8d5d63f8a60733c35202c5b838 authored about 4 years ago
This commit adds tests to make sure that relative and absolute expire commands
are propagated a...
These statements were dead code.
d42ea9e88ac5a9cc03e69be905bae81e88327d35 authored about 4 years agoThis was a regression from #7625 (only in 6.2 RC2).
This makes it possible again to implement...
4985c11bd6ef67a8eb58716f6c2b6b3d96e8538e authored about 4 years agoDon't bother to call fcntl if the flags are not gonna be changed.
5198b513d3001fb6399823909cac90ef8c3381e8 authored about 4 years ago366a16ff0585fbc60df630b9ae238cfedeaaf81a authored about 4 years ago
This adds basic coverage to IO threads by running the cluster and few selected Redis test suite ...
522d93607a46e28b035c675fe066778c453e84ba authored about 4 years agoPreviously invalid configuration errors were not very specific and in some cases hard to underst...
f5cf1e46a4812f0616f0ce763417b8c84f035493 authored about 4 years ago
* Adds ASYNC and SYNC arguments to SCRIPT FLUSH
* Adds SYNC argument to FLUSHDB and FLUSHALL
*...
Fixes markdown formatting errors and some functions not showing
up in the generated documentatio...
The prefix is changed from `RM_` to `module` on the following
internal functions, to prevent the...
Replace many calling zrealloc to one zmalloc in sentinelResetMasterAndChangeAddress
108afbc0bbde9153e4cb08bf50a724c4feb9626e authored about 4 years agoOptimize the performance of clusterGenNodesDescription by only checking slot ownership of each s...
9cb9f98d2f0d9114ac4528b2f9434a2fd2edfd60 authored about 4 years agoRemove several checks that always evaluate to true.
f5577fdbd8898112427e5807edf102f9fcd9da33 authored about 4 years ago
* Change zunionInterDiffGenericCommand to use lookupKeyRead if dstkey is null
* Change zrangeGe...
593cde16bcac64fb52a36500377574e981c580f6 authored about 4 years ago
we didn't wait for the commands executed on the master to reach the replica.
4f8458d8d6c59a47c6ffbb1ac88c69854ccf1592 authored about 4 years ago
This fixes three issues:
1. Using debug SLEEP was impacting the subsequent test, and causing i...
The test was trying to wait for the replica to start loading the rdb
from the master before it ...
Saving string of more than 2GB to the RDB file, can result in corrupt RDB, or failure in rdbSave...
542455ce2afbaffc065afbfdf6578399b8faecda authored about 4 years agoAssert that clusterAddNode can't fail
fe2fdef7b0b65c86eb3cc2685cf0c4efe5007b1c authored about 4 years ago
When the server state changes and blocked clients are being dropped, the
paused clients should ...
Co-authored-by: Oran Agra <[email protected]>
36f1dea5e19982fac81d44de5bb0a4febe456b06 authored about 4 years ago
- the last COW report wasn't always read from the pipe
(receiveLastChildInfo wasn't used)
- ...
Support ANY option to return some results that match the criteria ASAP,
without a complete sear...
This PR adds another trimming strategy to XADD and XTRIM named MINID
(complements the existing ...
The defragger works well on these systems, but the tests and their
thresholds are not adjusted ...
Throw an error if there are conflicting bcast tracking prefixes.
999494cef8247e660f079dd8ae884109444c8345 authored about 4 years agoImplementation of client pause WRITE and client unpause
47579bdf5cccfbac1cf2b6e7e52218c5b9faed86 authored about 4 years ago
Older arm64 Linux kernels have a bug that could lead to data corruption during
background save ...
This is a refactory commit, isn't suppose to have any actual impact.
it does the following:
- ke...
Add INFO field, rdb_active_cow_size, to report COW of a live fork child while
it's active.
- onc...
Add ZRANGESTORE command, and improve ZSTORE command to deprecated Z[REV]RANGE[BYSCORE|BYLEX].
...
b5029dfdadb387ba8a3b8517ec4a7117bf4070f4 authored about 4 years agoThis code path is normally executed only when v6.0 and above replicates from v2.4
cfcd0fa6f71af4e224c1d86be55b6b01f2288be2 authored about 4 years agoNew command: XAUTOCLAIM <key> <group> <consumer> <min-idle-time> <start> [COUNT <count>] [JUSTID...
714e103ac317bfa179b0a132c0f78d4ddc84a435 authored about 4 years ago
instead of asking for the extra new space it wanted, it asked to grow the
string by the size it...
Turns out the RDB checksum in Redis 6.0 on bigendian is broken.
It always returned 0, so the RD...
When a Lua script returns a map to redis (a feature which was added in
redis 6 together with RE...
df9c213bb0b90c57867d25d272729d8492244582 authored about 4 years ago
* man-like consistent long formatting
* Uppercases commands, subcommands and options
* Adds 'H...
This PR not only fixes the problem that swapdb does not make the
transaction fail, but also opt...
If AOF file contains a long Lua script that timed out, then the `evalCommand` calls
`blockingOp...
This is a recent problem, introduced by 7471743 (redis 6.0)
The implications are:
The sole d...
New command flags similar to what SADD already has.
Co-authored-by: huangwei03 <huangwei03@ku...
33fb6170531435b891faf0ed7b21a95ac65dd0a1 authored about 4 years ago91690a29202b8ff3fbc9305273463fd5a575e572 authored about 4 years ago
In #7726 (part of 6.2), we added a mechanism for whileBlockedCron, this
mechanism has an assert...
getRDB is "designed" to work in two modes: one for redis-cli --rdb and
one for redis-cli --clus...
71fbe6e800a10dabc81b1aec96bcca3b74af7bf4 authored about 4 years ago
The crash log attempts to print the current client info, and when it
does that it attempts to c...
This Commit pushes forward the observability on overall error statistics and command statistics ...
90b9f08e5d1657e7bfffe43f31f6663bf469ee75 authored about 4 years agoMerge pushGenericCommand and pushxGenericCommand to remove redundancy and simplify code.
1f5a73a530915f6f6326047effc796218af22cf6 authored about 4 years ago
Recently efaf09ee4 started using addReplyErrorSds in place of
addReplySds the later takes owner...
19d4705ffd0bac319d0af9d82e130756039f3329 authored about 4 years ago
Add CLIENT TRACKINGINFO subcommand
Co-authored-by: Oran Agra <[email protected]>
299f9ebffa5d0a79245a6e989cde775daf30d6a8 authored about 4 years agoAdds: `L/RPOP <key> [count]`
Implements no. 2 of the following strategies:
1. Loop on list...
f44186e5755e943f39c1446ad9576ab97de5039d authored about 4 years agoe18068d9d83e6c7298b5501ffabfdb7709984fc0 authored about 4 years ago
Signed-off-by: xhe <[email protected]>
e6c1aeaf08b14076ccdf26aaef65b76b1597ee77 authored about 4 years agoCo-authored-by: Itamar Haber <[email protected]>
fae5ceef2ab65797af7d7778143efb8e4d598301 authored about 4 years ago4617960863c2baf3545ca74009b03358fa2363e1 authored about 4 years ago
Signed-off-by: xhe <[email protected]>
78eaf503fdbafe94d1905301ba47294326b278e4 authored about 4 years agoSigned-off-by: xhe <[email protected]>
f6711b7da5445f3e4ba3595c9c0153183184078e authored about 4 years agoSigned-off-by: xhe <[email protected]>
955e00fbec2bf9cb2dbe53fceef00941681bfbd4 authored about 4 years agoCo-authored-by: Oran Agra <[email protected]>
4e36925c662bba9c83661caa166d4699bcbef17c authored about 4 years ago