redict/tests/modules
qetu3790 4962c5526d
Release clients blocked on module commands in cluster resharding and down state (#9483)
Prevent clients from being blocked forever in cluster when they block with their own module command
and the hash slot is migrated to another master at the same time.
These will get a redirection message when unblocked.
Also, release clients blocked on module commands when cluster is down (same as other blocked clients)

This commit adds basic tests for the main (non-cluster) redis test infra that test the cluster.
This was done because the cluster test infra can't handle some common test features,
but most importantly we only build the test modules with the non-cluster test suite.

note that rather than really supporting cluster operations by the test infra, it was added (as dup code)
in two files, one for module tests and one for non-modules tests, maybe in the future we'll refactor that.

Co-authored-by: Oran Agra <oran@redislabs.com>
2021-10-19 11:50:37 +03:00
..
aclcheck.c Adding ACL support for modules (#9309) 2021-09-23 08:52:56 +03:00
auth.c Fixed some documentation 2019-12-17 07:49:21 +00:00
basics.c Add RM_TrimStringAllocation(). (#9540) 2021-09-23 15:00:37 +03:00
blockedclient.c Handle output buffer limits for Module blocked clients (#8141) 2020-12-08 16:41:20 +02:00
blockonbackground.c Fix memory leak due to missing freeCallback in blockonbackground moduleapi test (#9499) 2021-09-14 15:14:09 +03:00
blockonkeys.c Release clients blocked on module commands in cluster resharding and down state (#9483) 2021-10-19 11:50:37 +03:00
commandfilter.c Tests: fix commandfilter crash on alpine. (#9307) 2021-08-02 15:50:45 +03:00
datatype2.c Modify mem_usage2 module callback to enable to take sample_size argument (#9612) 2021-10-17 17:31:06 +03:00
datatype.c Modules: add RM_LoadDataTypeFromStringEncver (#9537) 2021-09-30 11:21:32 +03:00
defragtest.c Enhance mem_usage/free_effort/unlink/copy callbacks and add GetDbFromIO api. (#8999) 2021-06-16 09:45:49 +03:00
fork.c Moved RMAPI_FUNC_SUPPORTED location such that it will be visible to modules (#8037) 2020-11-09 10:46:23 +02:00
getkeys.c Modules: fix RM_GetCommandKeys API. (#7901) 2020-10-11 18:10:55 +03:00
hash.c Modules: In RM_HashSet, add COUNT_ALL flag and set errno (#8446) 2021-02-15 11:40:05 +02:00
hooks.c Add Module API for version and compatibility checks (#7865) 2020-10-11 17:21:58 +03:00
infotest.c Escape unsafe field name characters in INFO. (#8492) 2021-02-15 17:08:53 +02:00
keyspace_events.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
keyspecs.c A better approach for COMMAND INFO for movablekeys commands (#8324) 2021-09-15 11:10:29 +03:00
list.c Modules: Add remaining list API functions (#8439) 2021-09-14 17:48:06 +03:00
Makefile Fix daily failures due to macos-latest change. (#9637) 2021-10-17 00:07:27 +03:00
misc.c Add RedisModule_KeyExists (#9600) 2021-10-18 22:21:19 +03:00
propagate.c Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
reply.c Module api support for RESP3 (#8521) 2021-08-03 11:37:19 +03:00
scan.c Fix RM_ScanKey module api not to return int encoded strings 2020-06-14 11:20:15 +03:00
stream.c Add modules API for streams (#8288) 2021-01-28 16:19:43 +02:00
test_lazyfree.c Modules callbacks for lazy free effort, and unlink (#7912) 2020-11-16 10:34:04 +02:00
testrdb.c Revert "Fix: server will crash if rdbload or rdbsave method is not provided in module (#8670)" (#8771) 2021-04-13 17:41:46 +03:00
timer.c Add timer module API tests. (#8041) 2020-11-11 22:57:33 +02:00
zset.c RM_ZsetRem: Delete key if empty (#8453) 2021-02-05 19:54:01 +02:00