- 06 Apr, 2020 1 commit
-
-
Oran Agra authored
-
- 03 Apr, 2020 9 commits
-
-
Salvatore Sanfilippo authored
Try to fix time-sensitive tests in blockonkey.tcl
-
Salvatore Sanfilippo authored
Use __attribute__ only if __GNUC__ is defined
-
Guy Benoish authored
There is an inherent race between the deferring client and the "main" client of the test: While the deferring client issues a blocking command, we can't know for sure that by the time the "main" client tries to issue another command (Usually one that unblocks the deferring client) the deferring client is even blocked... For lack of a better choice this commit uses TCL's 'after' in order to give some time for the deferring client to issues its blocking command before the "main" client does its thing. This problem probably exists in many other tests but this commit tries to fix blockonkeys.tcl
-
Guy Benoish authored
-
Salvatore Sanfilippo authored
Modules: Perform printf-like format checks in variadic API
-
Guy Benoish authored
-
Salvatore Sanfilippo authored
XREAD and XREADGROUP should not be allowed from scripts when BLOCK op…
-
Salvatore Sanfilippo authored
Stale replica should allow MULTI/EXEC
-
Salvatore Sanfilippo authored
fix integer overflow
-
- 02 Apr, 2020 18 commits
-
-
Salvatore Sanfilippo authored
Fix no-negative-zero test
-
Salvatore Sanfilippo authored
modules don't signalModifiedKey in setKey() since that's done (optionally) in RM_CloseKey
-
Xudong Zhang authored
-
Guy Benoish authored
-
Guy Benoish authored
Example: Client uses a pipe to send the following to a stale replica: MULTI .. do something ... DISCARD The replica will reply the MUTLI with -MASTERDOWN and execute the rest of the commands... A client using a pipe might not be aware that MULTI failed until it's too late. I can't think of a reason why MULTI/EXEC/DISCARD should not be executed on stale replicas... Also, enable MULTI/EXEC/DISCARD during loading
-
Salvatore Sanfilippo authored
change CI to build and run the module api tests
-
Salvatore Sanfilippo authored
fix possible warning on incomplete struct init
-
Salvatore Sanfilippo authored
Make sure Redis does not reply with negative zero
-
Salvatore Sanfilippo authored
DEBUG OBJECT should pass keyname to module when loading
-
Salvatore Sanfilippo authored
debug, dump registers on arm too.
-
Salvatore Sanfilippo authored
fix spelling in cluster.c clusterDelNode
-
Salvatore Sanfilippo authored
XACK should be executed in a "all or nothing" fashion.
-
Salvatore Sanfilippo authored
CLIENT TRACKING Command Fix: Add More Checking for OPTIN/OPTOUT mode
-
Salvatore Sanfilippo authored
PERSIST should notify a keyspace event
-
Salvatore Sanfilippo authored
streamReplyWithRange: Redundant XSETIDs to replica
-
antirez authored
-
antirez authored
-
Salvatore Sanfilippo authored
Fix memory corruption in moduleHandleBlockedClients
-
- 01 Apr, 2020 1 commit
-
-
Guy Benoish authored
By using a "circular BRPOPLPUSH"-like scenario it was possible the get the same client on db->blocking_keys twice (See comment in moduleTryServeClientBlockedOnKey) The fix was actually already implememnted in moduleTryServeClientBlockedOnKey but it had a bug: the funxction should return 0 or 1 (not OK or ERR) Other changes: 1. Added two commands to blockonkeys.c test module (To reproduce the case described above) 2. Simplify blockonkeys.c in order to make testing easier 3. cast raxSize() to avoid warning with format spec
-
- 31 Mar, 2020 11 commits
-
-
antirez authored
-
antirez authored
-
Salvatore Sanfilippo authored
Modules: Test MULTI/EXEC replication of RM_Replicate
-
Salvatore Sanfilippo authored
RENAME can unblock XREADGROUP
-
Guy Benoish authored
Other changes: Support stream in serverLogObjectDebugInfo
-
Guy Benoish authored
Makse sure call() doesn't wrap replicated commands with a redundant MULTI/EXEC Other, unrelated changes: 1. Formatting compiler warning in INFO CLIENTS 2. Use CLIENT_ID_AOF instead of UINT64_MAX
-
https://github.com/leeyiw/redisantirez authored
Merge branch 'pubsub_patterns_boost' of https://github.com/leeyiw/redis into leeyiw-pubsub_patterns_boost
-
antirez authored
-
antirez authored
-
antirez authored
37a10cef introduced automatic wrapping of MULTI/EXEC for the alsoPropagate API. However this collides with the built-in mechanism already present in module.c. To avoid complex changes near Redis 6 GA this commit introduces the ability to exclude call() MUTLI/EXEC wrapping for also propagate in order to continue to use the old code paths in module.c.
-
antirez authored
-