- 16 6月, 2020 3 次提交
- 15 6月, 2020 1 次提交
-
-
由 Salvatore Sanfilippo 提交于
Fix RM_ScanKey module api not to return int encoded strings
-
- 14 6月, 2020 1 次提交
-
-
由 meir@redislabs.com 提交于
The scan key module API provides the scan callback with the current field name and value (if it exists). Those arguments are RedisModuleString* which means it supposes to point to robj which is encoded as a string. Using createStringObjectFromLongLong function might return robj that points to an integer and so break a module that tries for example to use RedisModule_StringPtrLen on the given field/value. The PR introduces a fix that uses the createObject function and sdsfromlonglong function. Using those function promise that the field and value pass to the to the scan callback will be Strings. The PR also changes the Scan test module to use RedisModule_StringPtrLen to catch the issue. without this, the issue is hidden because RedisModule_ReplyWithString knows to handle integer encoding of the given robj (RedisModuleString). The PR also introduces a new test to verify the issue is solved.
-
- 12 6月, 2020 3 次提交
-
-
由 antirez 提交于
-
由 Salvatore Sanfilippo 提交于
Fix Server Crash in LCS Command
-
由 antirez 提交于
-
- 11 6月, 2020 3 次提交
- 10 6月, 2020 2 次提交
-
-
由 antirez 提交于
-
由 Paul Spooren 提交于
The `LRANK` command returns the index (position) of a given element within a list. Using the `direction` argument it is possible to specify going from head to tail (acending, 1) or from tail to head (decending, -1). Only the first found index is returend. The complexity is O(N). When using lists as a queue it can be of interest at what position a given element is, for instance to monitor a job processing through a work queue. This came up within the Python `rq` project which is based on Redis[0]. [0]: https://github.com/rq/rq/issues/1197Signed-off-by: NPaul Spooren <mail@aparcar.org>
-
- 09 6月, 2020 3 次提交
- 08 6月, 2020 9 次提交
-
-
由 Salvatore Sanfilippo 提交于
return the correct proto version
-
由 Salvatore Sanfilippo 提交于
Don't queue commands in an already aborted MULTI state
-
由 Salvatore Sanfilippo 提交于
Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
-
由 Salvatore Sanfilippo 提交于
AOF: append origin SET if no expire option
-
由 Salvatore Sanfilippo 提交于
fix disconnectSlaves, to try to free each slave.
-
由 Salvatore Sanfilippo 提交于
donot free protected client in freeClientsInAsyncFreeQueue()
-
由 Oran Agra 提交于
the recent change in that loop (iteration rather than waiting for it to be empty) was intended to avoid an endless loop in case some slave would refuse to be freed. but the lookup of the first client remained, which would have caused it to try the first one again and again instead of moving on.
-
由 Oran Agra 提交于
-
由 Oran Agra 提交于
Much like MULTI/EXEC/DISCARD, the WATCH and UNWATCH are not actually operating on the database or server state, but instead operate on the client state. the client may send them all in one long pipeline and check all the responses only at the end, so failing them may lead to a mismatch between the client state on the server and the one on the client end, and execute the wrong commands (ones that were meant to be discarded) the watched keys are not actually stored in the client struct, but they are in fact part of the client state. for instance, they're not cleared or moved in SWAPDB or FLUSHDB.
-
- 07 6月, 2020 1 次提交
-
-
由 xhe 提交于
HELLO should return the current proto version, while the code hardcoded 3
-
- 06 6月, 2020 3 次提交
-
-
由 antirez 提交于
-
- 03 6月, 2020 1 次提交
-
-
由 zhaozhao.zz 提交于
-
- 02 6月, 2020 1 次提交
-
-
由 zhaozhao.zz 提交于
related #7234
-
- 31 5月, 2020 3 次提交
-
-
由 Salvatore Sanfilippo 提交于
fix pingoff test race
-
由 Oran Agra 提交于
-
由 Salvatore Sanfilippo 提交于
Fix TLS certificate loading for chained certificates.
-
- 29 5月, 2020 3 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
Now it is also possible for ACL SETUSER to accept empty strings as valid operations (doing nothing), so for instance ACL SETUSER myuser "" Will have just the effect of creating a user in the default state. This should fix #7329.
-
由 Salvatore Sanfilippo 提交于
fix clusters mixing accidentally by gossip
-
- 28 5月, 2020 3 次提交