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

code, typo and comment cleanups (#11280)

- fix `the the` typo
- `LPOPRPUSH` does not exist, should be `RPOPLPUSH`
- `CLUSTER GETKEYINSL...

3c02d1acc499bf5391d904924219450f0ff2d45a authored over 2 years ago by Binbin <[email protected]>
fix some commands json file (#11201)

- BITOP: turn argument `operation` from string to oneof
- CLIENT KILL: turn argument `skipme` f...

2804eefc58be6bfe3657e64cf3bdadd59549464a authored over 2 years ago by Huang Zhw <[email protected]>
Update CLUSTER NODES help message (#11341)

We will always show the bus-port, and if the node hostname exists, it will also show it.

ed4c432ec55a292044e1c7e2a7ff093784e07bb5 authored over 2 years ago by Binbin <[email protected]>
Add redis-cli hints to ACL DRYRUN, COMMAND GETKEYS, COMMAND GETKEYSANDFLAGS (#11232)

Better redis-cli hints for commands that take other commands as arguments.

```
command getke...

f8e2279e3a32d0fc88c09def807fe8a4b03771b2 authored over 2 years ago by Huang Zhw <[email protected]>
Update sentinel-config.json to consistent with Config Get and Set operation (#11334)

The sentinel CONFIG GET command doesn't support multiple arguments, but the json file did.
remo...

e21c05996752e43c324645dd7508013271d95292 authored over 2 years ago by Wen Hui <[email protected]>
Avoid crash on crash report when a bad function pointer was called (#11298)

If Redis crashes due to calling an invalid function pointer,
the `backtrace` function will try ...

0bf90d944313919eb8e63d3588bf63a367f020a3 authored over 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Fix the missing server.dirty increment and redundant signalModifiedKey in serveClientBlockedOnList (#11326)

Mainly fix two minor bug
1. When handle BL*POP/BLMOVE commands with blocked clients, we should ...

f106beebfa3e6c677aeb5933c3e1784cac36d283 authored over 2 years ago by sundb <[email protected]>
RM_CreateCommand should not set CMD_KEY_VARIABLE_FLAGS automatically (#11320)

The original idea behind auto-setting the default (first,last,step) spec was to use
the most "o...

3330ea1864e8a4fe3dcbb69101a2d1afd5e8401f authored over 2 years ago by guybe7 <[email protected]>
fix: redis-cli --memkeys-samples add check lastarg (#11269)

doing redis-cli --memkeys-samples without any additional arguments
would have lead to a crash o...

c0725abfbbf7ba1eb2b02573a64dce04dc3f7e3a authored over 2 years ago by Phoeniwx <[email protected]>
Remove redundant arity checks in XINFO (#11331)

The arity in the JSON files of the subcommands reneder this
code unreachable

bd40d3158b083920164fc3cb410dd141df3e21a7 authored over 2 years ago by guybe7 <[email protected]>
Fixing compilation by removing flock() when compiling on Solaris (#11327)

SunOS/Solaris and its relatives don't support the flock() function.
While "redis" has been excl...

6aab4cb73662578174a14dc846fdc64e1dd71eb2 authored over 2 years ago by Steffen Moser <[email protected]>
Ignore RM_Call deny-oom flag if maxmemory is zero (#11319)

If a command gets an OOM response and then if we set maxmemory to zero
to disable the limit, se...

18920813a9842ec3dec895e2888d0b5d2955b916 authored over 2 years ago by Ozan Tezcan <[email protected]>
Fix CLUSTER SHARDS showing empty hostname (#11297)

* Fix CLUSTER SHARDS showing empty hostname

In #10290, we changed clusterNode hostname from `...

1de675b3d52a369b88dc7a73f0bc359f7984ca44 authored over 2 years ago by Binbin <[email protected]>
Add RM_SetContextUser to support acl validation in RM_Call (and scripts) (#10966)

Adds a number of user management/ACL validaiton/command execution functions to improve a
Redis ...

6e993a5dfa38327f25c5c8eea0f0e98ffd5d2c21 authored over 2 years ago by Shaya Potter <[email protected]>
Fix heap overflow vulnerability in XAUTOCLAIM (CVE-2022-35951) (#11301)

Executing an XAUTOCLAIM command on a stream key in a specific state, with a
specially crafted C...

6d21560190fd5b09ff849ad1777e868d5e78da5f authored over 2 years ago by Oran Agra <[email protected]>
Replica that asks for rdb only should be closed right after the rdb part (#11296)

The bug is that the the server keeps on sending newlines to the client.
As a result, the receiv...

e53bf6524599dec89c08250c5d0f5bed096ae394 authored over 2 years ago by Valentino Geron <[email protected]>
ACL default newly created user set USER_FLAG_SANITIZE_PAYLOAD flag (#11279)

Starting from 6.2, after ACL SETUSER user reset, the user
will carry the sanitize-payload flag....

bb6513cbba972c4932c17ba8188030ec2cfc0aa5 authored over 2 years ago by Binbin <[email protected]>
Fix missing sections for INFO ALL with module (#11291)

When using `INFO ALL <section>`, when `section` is a specific module section.
Redis will not p...

eedb8b172474dd7776d9bbb0f2954a1394027289 authored over 2 years ago by Shay Fadida <[email protected]>
Fix Invalid node address specified in redis-cli --cluster create/add-node (#11151)

This bug was introduced in #10344 (7.0.3), and it breaks the
redis-cli --cluster create usage i...

c2b0c13d5c0fab49131f6f5e844f80bfa43f6219 authored over 2 years ago by Binbin <[email protected]>
Fix crash due to delete entry from compress quicklistNode and wrongly split quicklistNode (#11242)

This PR mainly deals with 2 crashes introduced in #9357,
and fix the QUICKLIST-PACKED-THRESHOLD...

13d25dd95eec5e21925ef474b5d43f2acb23e54e authored over 2 years ago by sundb <[email protected]>
fix infinite sleep in performEvictions when have lazyfree jobs (#11237)

This bug is introduced in #7653. (Redis 6.2.0)

When `server.maxmemory_eviction_tenacity` is 1...

464aa04188c42c82f411ac7d43fabf0f6038c98e authored over 2 years ago by zhaozhao.zz <[email protected]>
Adds listnode to client struct for clients_pending_write list (#11220)

d144dc927a6ea10cd5dcbdb2eacd58e929dedcfe authored over 2 years ago by Adi Pinsky <[email protected]>
Avoid crash when a cluster node is a replica of a replica of itself (#11263)

42e4241ecee472fc2341660e29652f0e2a485453 authored over 2 years ago by Viktor Söderqvist <[email protected]>
Prevent use after free for inbound cluster link (#11255)

6c03786b66d27a53629cac21d5b89b17bfad6b65 authored over 2 years ago by Madelyn Olson <[email protected]>
Improve redis.conf documentation on repl-diskless-load (#11213)

Just noticed that there are some inaccurate, or at least confusing information about `repl-diskl...

36abc0fa8f50a0c5bbe8b5ddcca657d6ada94363 authored over 2 years ago by Eduardo Semprebon <[email protected]>
Update group and consumer description in json file for Unifying Stream command format (#11190)

For the stream data type, some commands, such as **XGROUP CREATE, XGROUP DESTROY, XGROUP CREATEC...

5389fa62a64ddb277a58db4b21934d47cd298028 authored over 2 years ago by Wen Hui <[email protected]>
Optimize setGenericCommand(): no need to remove the expiration entry when 'expire' is not NULL (#11244)

e67d06ee6be9c93fe626ad19f11b2d572d58a0ba authored over 2 years ago by Mingyi Kang <[email protected]>
fix semantic uncorresponding in comment of ziplist example (#11141)

fix semantic uncorresponding in comment of ziplist example

89018ff6a78dd130f0d03914ce658e9f73010948 authored over 2 years ago by *caco <[email protected]>
Added API to initialize dictionary iterators without memory allocation (#11245)

* Added api to use dictionary iterators without calling malloc.

fb1d56bc2ae6466f4f6eac5a966936b904b5dbdc authored over 2 years ago by tmoshaiov <[email protected]>
fix test Migrate the last slot away from a node using redis-cli (#11221)

When using cli to add node, there can potentially be a race condition in
which all nodes presen...

c0ce97faccb314f00cdda38a233508d38bd1b855 authored over 2 years ago by ranshid <[email protected]>
Use cached value correctly inside connectionTypeTls() (#11236)

When Redis is built without TLS support, connectionTypeTls() function
keeps searching connecti...

3761fdb048e22a5277bd577f87c462dfe019823a authored over 2 years ago by Ozan Tezcan <[email protected]>
Fix typo in DEBUG REPLYBUFFER RESIZING comment

This command is related with reply buffer, not replay buffer

Co-authored-by: Shogo Hayashi <h...

e764e2a627ace62f6081076aead9902d4871ca59 authored over 2 years ago by Shogo Hayashi <[email protected]>
Correctly handle scripts with shebang (not read-only) on a cluster replica (#11223)

EVAL scripts are by default not considered `write` commands, so they were allowed on a replica.
...

e42d98ed27364a100d0ba5cb1340bcd7fbcca710 authored over 2 years ago by chendianqiang <[email protected]>
Add a dry run flag to RM_Call execution (#11158)

Add a new "D" flag to RM_Call which runs whatever verification the user requests,
but returns b...

87e7973c7e165bdd25734f2dbfba09cb4c2f5b6c authored over 2 years ago by Shaya Potter <[email protected]>
zmalloc api set malloc attributes for api giving non aliased pointers. (#11196)

micro optimizations, giving the hints that the returned addresses
are guaranteed to be unique....

22f763aa10b8724b895d64f0af06922038fcae94 authored over 2 years ago by David CARLIER <[email protected]>
Bump vmactions/freebsd-vm from 0.2.3 to 0.2.4 (#11203)

Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.3 to 0.2.4.
- [R...

c66eaf4e4a019fe379556bd6f725524cca0e2d96 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix false valgrind error on new hash test (#11200)

New test fails on valgrind because strtold("+inf") with valgrind returns a non-inf result
same ...

c3b7bde91499c2fa6105ff336286dbedbfd42790 authored over 2 years ago by Oran Agra <[email protected]>
Improve cmd_flags for script/functions in RM_Call (#11159)

When RM_Call was used with `M` (reject OOM), `W` (reject writes),
as well as `S` (rejecting sta...

bed6d759bcb1ddcdab76da1b46a120e2e610036b authored over 2 years ago by Shaya Potter <[email protected]>
bugfix:del keys in slot replicate to replica, and trigger other invalidations (#11084)

Bugfix:
with the scenario if we force assigned a slot to other master,
old master will lose th...

8945067544706951fd60007ad8cba8e8941b970d authored over 2 years ago by weimeng <[email protected]>
fix hincrbyfloat not to create a key if the new value is invalid (#11149)

Check the validity of the value before performing the create operation,
prevents new data from ...

bc7fe41e5857a0854d524e2a63a028e9394d2a5c authored over 2 years ago by chendianqiang <[email protected]>
Remove the NONDETERMINISTIC_OUTPUT flag from most CLUSTER sub-commands. (#11157)

TLDR: the CLUSTER command originally had the `random` flag,
so all the sub-commands initially g...

a7da7473cbd791589b943f38dcb855404a872928 authored over 2 years ago by Huang Zhw <[email protected]>
Removing old redundant code from bio.c (#11136)

* Remove redundant array bio_pending[]. Value at index i identically reflects the
length of lis...

246f44d723fd3ca17fa0a47871e6f5dfab55e3bd authored over 2 years ago by Moti Cohen <[email protected]>
Correct grammatical error in for DENIED error message (#11192)

networking: Spell verb *set up* with space in error message

14e026e685ee47d0fa9bebfbee125b9effcb2883 authored over 2 years ago by Paul Menzel <[email protected]>
Fix assertion when a key is lazy expired during cluster key migration (#11176)

Redis 7.0 has #9890 which added an assertion when the propagation queue
was not flushed and we ...

c789fb0aa7e4a634c66db8113699f06fd995c4d9 authored over 2 years ago by Oran Agra <[email protected]>
Bump codespell from 2.1.0 to 2.2.1 in /.codespell (#11184)

add a few terms to the white list, and fix a few newly detected typos

78259826cd35fd1b03cf0fce122c6e3e2fd69961 authored over 2 years ago by Binbin <[email protected]>
Cleanup in GETDEL: Strings are never freed lazily (#11175)

The GETDEL command only operates on strings, and strings are never freed
lazily, so there's no ...

c07212372c3e03e9b4f459142d01a5f1895a0f9c authored over 2 years ago by Brad Dunbar <[email protected]>
fix test timeout wait command (#11181)

Fix `Test replication with lazy expire` test to not timeout the wait command.
This fix will all...

3603f19496bdbae084ea2ae15b4b53de41e2b728 authored over 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Reverts most of the changes of #10969 (#11178)

The PR reverts the changes made on #10969.
The reason for revert was trigger because of occasio...

c1bd61a4a50225982d4a9bc7c66fec913b0c9af2 authored over 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Merge: Fully abstract connection and make TLS dynamically loadable (#9320)

There are many commits in this PR, the detailed changes is described
in each commit message.

...

41d9eb0291417c36d694894c936d8f4f29ec5504 authored over 2 years ago by Oran Agra <[email protected]>
Build TLS as a loadable module

* Support BUILD_TLS=module to be loaded as a module via config file or
command line. e.g. redi...

4faddf18ca8ca3adb93cf1e4e620be9eaf0f6bf4 authored over 2 years ago by Oran Agra <[email protected]>
[PERF] use snprintf once in addReplyDouble (#11093)

The previous implementation calls `snprintf` twice, the second time used to
'memcpy' the output...

90223759a37d2613cd6f2085050f8ce2f9a54ee3 authored over 2 years ago by Ariel Shtul <[email protected]>
Replaces a made-up term with a real one (#11169)

407b5c912f2a9151e760ed82515059d7bf6776f9 authored over 2 years ago by Itamar Haber <[email protected]>
Introduce redis module ctx flag 'server startup'

A module may be loaded only during initial stage, a typical case is
connection type shared libra...

89e11486880a59dad3857499e69e54c0b27be689 authored over 2 years ago by zhenwei pi <[email protected]>
Introduce redis module ctx flag 'server startup' & 'sentinel'

A module may be loaded only during initial stage, a typical case is
connection type shared libra...

8a59c193105b6ad4cb2b9cc910f0b1ab34d0a3d8 authored over 2 years ago by zhenwei pi <[email protected]>
Add listeners info string for 'INFO' command

Suggested by Oran, add necessary listeners information in 'INFO'
command. It would be helpful fo...

0c4d2fcc8eff5331ab113c5a0e3db0529d7d1e74 authored over 2 years ago by zhenwei pi <[email protected]>
Introduce .listen into connection type

Introduce listen method into connection type, this allows no hard code
of listen logic. Original...

0b27cfe37d2d996cdab92629cfe6d6a39a15b464 authored over 2 years ago by zhenwei pi <[email protected]>
Use connection name of string

Suggested by Oran, use an array to store all the connection types
instead of a linked list, and ...

45617385e72eb814c6548064835cf19cdf466a5b authored over 2 years ago by zhenwei pi <[email protected]>
Introduce unix socket connection type

Unix socket uses different accept handler/create listener from TCP,
to hide these difference to ...

eb94d6d36dec7323af5fb89a5899506d5c07adb1 authored over 2 years ago by zhenwei pi <[email protected]>
Abstract accept handler

Abstract accept handler for socket&TLS, and add helper function
'connAcceptHandler' to get accep...

0ae02ce95b8a27ce9d19340e53dcdc9b5a060101 authored over 2 years ago by zhenwei pi <[email protected]>
Use socketFds for unix

socketFds is also suitable for Unix socket, then we can use
'createSocketAcceptHandler' to creat...

41fff55d527dc1987097da201cac009d1c7b9572 authored over 2 years ago by zhenwei pi <[email protected]>
Fully abstract connection type

Abstract common interface of connection type, so Redis can hide the
implementation and uplayer o...

1234e3a5628260658adfe9065cb58ec5c1cb5ebe authored over 2 years ago by zhenwei pi <[email protected]>
Introduce TLS specified APIs

Introduce .get_peer_cert, .get_ctx and .get_client_ctx for TLS, also
hide redis_tls_ctx & redis_...

c4c02f80365e5f7a82efa6a4d4f247503f54a5d8 authored over 2 years ago by zhenwei pi <[email protected]>
Introduce pending data for connection type

Introduce .has_pending_data and .process_pending_data for connection
type, and hide tlsHasPendin...

709b55b09dee2d22ae306d00b2c9ead1d382c044 authored over 2 years ago by zhenwei pi <[email protected]>
Introduce connection layer framework

Use connTypeRegister() to register a connection type into redis, and
query connection by connect...

8234a5123d8727a0b72c7b1a2524edd113ffe016 authored over 2 years ago by zhenwei pi <[email protected]>
Introduce connAddr

Originally, connPeerToString is designed to get the address info from
socket only(for both TCP &...

bff7ecc7864716c14fbb399f19acaee364975b29 authored over 2 years ago by zhenwei pi <[email protected]>
Reorder methods for ConnectionType

Reorder methods for CT_Socket & CT_TLS, also add comments to make the
methods clear.

Also move ...

b9d77288243aeab306b99ff72a71d8490a91e0a8 authored over 2 years ago by zhenwei pi <[email protected]>
Move 'connGetSocketError' to 'anetGetError'

getsockopt is part of TCP, rename 'connGetSocketError' to
'anetGetError', and move it into anet....

8045e26efacd8b1b1f7467002070eaf440a1c2bb authored over 2 years ago by zhenwei pi <[email protected]>
Move several conn functions to connection.h

These functions are really short enough and they are the connection
functions, separate them fro...

dca5c6ff114b69213ee3c14530e0ed20169d86b0 authored over 2 years ago by zhenwei pi <[email protected]>
Rename connection.c to socket.c

ConnectionType CT_Socket is implemented in connection.c, so rename
this file to socket.c.

Signe...

22e74e4720f6f4629389d42fb344c876b73437bf authored over 2 years ago by zhenwei pi <[email protected]>
Changes "lower" to "capital" in GEO units history notes (#11164)

A overlooked mistake in the #11162

a5349832fe5d6a663096525a20dc237fa8ba3503 authored over 2 years ago by Itamar Haber <[email protected]>
Support setlocale via CONFIG operation. (#11059)

Till now Redis officially supported tuning it via environment variable see #1074.
But we had ot...

ca6aeadfbef8a0da8817f9f74a7bde1f5df004f7 authored over 2 years ago by yourtree <[email protected]>
Adds historical note about lower-case geo units support (#11162)

This change was part of #9656 (Redis 7.0)

31ef410e88dabb3f0d475dd3cae9edc00ba55aa7 authored over 2 years ago by Itamar Haber <[email protected]>
Add 2 test cases for XDEL and XGROUP CREATE command (#11137)

This PR includes 2 missed test cases of XDEL and XGROUP CREATE command

1. one test case: XDEL...

c3a0253bc84861b5aa1a6f54ede42b63751e7e8a authored over 2 years ago by Wen Hui <[email protected]>
Fix CLUSTERDOWN issue in cluster reshard unblock test (#11139)

change the cluster-node-timeout from 1 to 1000

3a16ad30b7a7918f036b23c6f5cf079c04baab05 authored over 2 years ago by Binbin <[email protected]>
Repurpose redisCommandArg's name as the unique ID (#11051)

This PR makes sure that "name" is unique for all arguments in the same
level (i.e. all args of ...

223046ec9a25c1021f8d89a7edd1c4e4ff2c9ad9 authored over 2 years ago by guybe7 <[email protected]>
Fix memory leak in moduleFreeCommand (#11147)

Currently, we call zfree(cmd->args), but the argument array
needs to be freed recursively (ther...

fc3956e8f4d35ea66967bb26f26175ad184f8978 authored over 2 years ago by Binbin <[email protected]>
Fix replication inconsistency on modules that uses key space notifications (#10969)

Fix replication inconsistency on modules that uses key space notifications.

### The Problem
...

508a138885b33666923ab92720c8c3263dc5bd56 authored over 2 years ago by Meir Shpilraien (Spielrein) <[email protected]>
Tests: Add missing key declaration in scripts (#11134)

Make sure the script calls in the tests declare the keys they intend to use.
Do that with minim...

6a9cc20d9429e0ce1d6bfca5a40b681b1665cdec authored over 2 years ago by Valentino Geron <[email protected]>
Trim rdb loading code for pre-release formats (#11058)

The initial module format introduced in 4.0 RC1 and was changed in RC2
The initial function fo...

ac1cc5a6e15bd73bbb7ee9eff950850fdc69a31a authored over 2 years ago by Oran Agra <[email protected]>
Rename offset and xsetid tags (#11103)

There's really no point in having dedicated flags to test these features
(why shouldn't all com...

1189680edd99742e3938be71a6ef3965a468b353 authored over 2 years ago by guybe7 <[email protected]>
Optimization in t_hash.c: Avoid looking for a same field twice by using dictAddRaw() instead of dictFind() and dictAdd() (#11110)

Before this change in hashTypeSet() function, we first use dictFind()
to look for the field and...

eef2d8303d7be6be50ea3b1e45f375765933da9b authored over 2 years ago by kmy2001 <[email protected]>
Fix Lua compile warning on GCC 12.1 (#11115)

Fix Lua compile warning on GCC 12.1

GCC 12.1 prints a warning on compile:
```
ldump.c: In ...

c5ff163d53f1e9c1b647c4bf413386015ac4be71 authored over 2 years ago by Ozan Tezcan <[email protected]>
Add missing lua_pop in luaGetFromRegistry (#11097)

This pr mainly has the following four changes:

1. Add missing lua_pop in `luaGetFromRegistry`...

8aad2ac35201fd6feadb6f59e7cc0c2afb19129b authored over 2 years ago by sundb <[email protected]>
Fix outdated lfu-decay-time doc in redis.conf (#11108)

The divided by two and less <= 10 logics were changed in 06ca9d683920da19ad53532f8cd55b54584027b...

1f600efd013b9b01d683ba32f7630a5cf51ada43 authored over 2 years ago by Binbin <[email protected]>
Fix overflow in redis-benchmark (#11102)

Fix overflow in redis-benchmark affecting latency measurements on 32bit builds.

If `long` is ...

99ebbee2b260b3466672b4fa351cf1cb5e9b5fe9 authored over 2 years ago by Ozan Tezcan <[email protected]>
fix the client type in trackingInvalidateKey() (#11052)

Fix bug with scripts ignoring client tracking NOLOOP and
send an invalidation message anyway.

44859a41ee63b52632f0726d7bf1e6ca1ce47f83 authored over 2 years ago by DarrenJiang13 <[email protected]>
fix typos around dict funtions of cstring (#11092)

replace "dist" with "dict"

91c3c742e7b85ae957bdb325a66132b6ed0097d3 authored over 2 years ago by judeng <[email protected]>
Tests: improve skip tags around resp3 (#11090)

some skip tags were missing on some tests
avoid using HELLO if denytags has resp3 (target serve...

3270f2d54e76e5680d2a529c4dc30c86333c810e authored over 2 years ago by Valentino Geron <[email protected]>
acl: bitfield with get and set|incrby can be executed with readonly permission (#11086)

`bitfield` with `get` may not be readonly.

```
127.0.0.1:6384> acl setuser hello on nopass %...

ec5034a2e3349235aa7142cfcc8333d21df755ce authored over 2 years ago by Huang Zhw <[email protected]>
Optimize the performance of multi-key commands in cluster mode (#11044)

* Optimize the performance of multi-key commands in cluster mode

* add note

7d8911d22a588c78098e2df080d954cc889d5529 authored over 2 years ago by judeng <[email protected]>
Re-enable aof-race integration tests (#10972)

This is the history of aof-race related changes:
1. added in 3aa4b0097062b13031506b6b52fc8fc4bf...

6a7dd00cdda8c3f113beecdc9d44ade82886b472 authored over 2 years ago by Binbin <[email protected]>
errno cleanup around rdbLoad (#11042)

This is an addition to #11039, which cleans up rdbLoad* related errno. Remove the
errno print f...

4505eb18213c8da31c6dd39ba7cd36d3d01141a5 authored over 2 years ago by Binbin <[email protected]>
Avoid the sdslen() on shared.crlf given we know its size beforehand. Improve ~3-4% of cpu cycles to lrange logic (#10987)

* Avoid the sdslen() on shared.crlf given we know its size beforehand
* Removed shared.crlf fro...

6686c6d774fcf71fffbaeff798c997ab3eff80de authored over 2 years ago by filipe oliveira <[email protected]>
Reuse checkGoodReplicasStatus in script.c (#11078)

Small refactoring done to reuse `checkGoodReplicasStatus` in `script.c` when checking for status...

f3588fbcca1eb339324c72ff78b4643420fd020a authored over 2 years ago by Jie Liang Ang <[email protected]>
Adding parentheses and do-while(0) to macros (#11080)

Fixing few macros that doesn't follows most basic safety conventions
which is wrapping any usag...

1aa6c4ab9294af4eef50fbd82079051f4c06dd42 authored over 2 years ago by Moti Cohen <[email protected]>
Fix acl tests to support `--singledb` flag (#11077)

* some of the tests don't clean the key the use
* marked tests with `{singledb:skip}` if they u...

dcafee55a580430b17ca237799a4eff245919c3b authored over 2 years ago by Valentino Geron <[email protected]>
Return ASAP when lua error is string (#11075)

This is a harmless optimization/bug.
When the top of the lua stack is a string, we should not c...

7cd3520424728d234b9eab76e6ae0b974fc29c28 authored over 2 years ago by sundb <[email protected]>
Fix function load error message (#10964)

Update error messages for function load

beb9746a9f5f3df198c1b655b7f024b610d9371c authored over 2 years ago by Wen Hui <[email protected]>
Bump vmactions/freebsd-vm from 0.2.0 to 0.2.3 (#11072)

Bumps [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm) from 0.2.0 to 0.2.3.
- [R...

4fe9242a7ff470439879072cd25e851d1636c214 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Solve usleep compilation warning in keyspace_events.c (#11073)

There is a -Wimplicit-function-declaration warning in here:
```
keyspace_events.c: In function...

9f0f533bc8f491e1612b2e6eaf10215aba54023b authored over 2 years ago by Binbin <[email protected]>