Yossi Gottlieb
a6d42ebfd9
Modules: improve tests Makefile.
...
Removes some boilerplate per module, add clean target.
2019-10-24 13:21:35 +03:00
antirez
3bd7f715c8
Modules hooks: test flush event.
2019-10-24 10:51:03 +02:00
Oran Agra
70815145a7
Make module tests pass with valgrind, and fix a leak in diskless load
2019-10-24 09:45:25 +03:00
antirez
e9f6688a68
Modules hooks: test module draft.
2019-10-23 18:42:02 +02:00
antirez
59982e85eb
Modules: add RM_Replicate() Tcl test file & fix the module.
2019-10-03 18:44:50 +02:00
antirez
d6d4fea080
Modules: RM_Replicate() test with threads.
2019-10-03 13:23:53 +02:00
antirez
d859b42899
Modules: RM_Replicate() test module: initial implementation.
2019-10-03 13:06:13 +02:00
Oran Agra
bd49c4679b
Merge remote-tracking branch 'antirez/unstable' into modules_info
2019-09-30 20:47:35 +03:00
Salvatore Sanfilippo
5c5761bcd6
Merge branch 'unstable' into modules_fork
2019-09-27 11:24:06 +02:00
Oran Agra
8319ffb34d
Module INFO, support default section for simple modules
2019-08-18 10:01:57 +03:00
Oran Agra
d4c24a3067
Module INFO, add support for dict fields, rename API to have common prefix
2019-08-18 09:41:45 +03:00
Oran Agra
037ac27e41
Add test for module diskless short reads
2019-07-30 15:20:03 +03:00
Oran Agra
b2fce80695
Extend modules API to allow modules report to redis INFO
...
this implements #6012
2019-07-24 12:58:15 +03:00
Oran Agra
ff0780e8e6
Implement module api for aux data in rdb
...
Other changes:
* fix memory leak in error handling of rdb loading of type OBJ_MODULE
2019-07-22 21:15:33 +03:00
Oran Agra
e70fbad802
Module API for Forking
...
* create module API for forking child processes.
* refactor duplicate code around creating and tracking forks by AOF and RDB.
* child processes listen to SIGUSR1 and dies exitFromChild in order to
eliminate a valgrind warning of unhandled signal.
* note that BGSAVE error reply has changed.
valgrind error is:
Process terminating with default action of signal 10 (SIGUSR1)
2019-07-17 16:40:24 +03:00
Yossi Gottlieb
a631f66710
Add runtest-moduleapi with commandfilter coverage.
2019-03-24 12:03:03 +02:00
Yossi Gottlieb
2d4635b483
fix: missing initialization.
2019-03-24 12:00:33 +02:00
Yossi Gottlieb
898677d59e
CommandFilter API: REDISMODULE_CMDFILTER_NOSELF.
...
Add a flag to automatically protect filters from being called
recursively by their own module.
2019-03-21 19:53:12 +02:00
Yossi Gottlieb
c675d44488
CommandFilter API: Add unregister option.
...
A filter handle is returned and can be used to unregister a filter. In
the future it can also be used to further configure or manipulate the
filter.
Filters are now automatically unregistered when a module unloads.
2019-03-21 14:44:49 +02:00
Yossi Gottlieb
06a6d70ab5
CommandFilter API: hellofilter and tests.
2019-03-18 23:07:28 +02:00
Yossi Gottlieb
95881cec60
Add command filter Module API tests.
2019-03-18 19:34:52 +02:00