- 19 Sep, 2018 1 commit
-
-
antirez authored
-
- 13 Apr, 2018 1 commit
-
-
antirez authored
This is useful in the reply and timeout callback, if the module wants to do some cleanup of the blocked client handle that may be stored around in the module-private data structures.
-
- 12 Apr, 2018 1 commit
-
-
antirez authored
-
- 11 Apr, 2018 1 commit
-
-
antirez authored
In some modules it may be useful to have an idea about being near to OOM. Anyway additionally an explicit call to get the fill ratio will be added in the future.
-
- 09 Apr, 2018 4 commits
-
-
antirez authored
Plus freeMemoryIfNeeded() refactoring to improve legibility. Please review this commit for sanity.
-
antirez authored
-
antirez authored
This way it is possible to use conditional compilation to be compatible with a larger amount of Redis versions, however note that this breaks binary compatibiltiy, so the module must be compiled with the corresponding redismodule.h file depending on the version of Redis targeted.
-
antirez authored
Note that this was an experimental API that can only be enabled with REIDSMODULE_EXPERIMENTAL_API, so it is subject to change until its promoted to stable API. Sorry for the breakage, it is trivial to resolve btw. This change will not be back ported to Redis 4.0.
-
- 05 Apr, 2018 1 commit
-
-
antirez authored
-
- 01 Apr, 2018 2 commits
- 30 Mar, 2018 8 commits
- 14 Feb, 2018 2 commits
- 23 Jan, 2018 1 commit
-
-
Mark Nunberg authored
Older versions might not have this function.
-
- 07 Jan, 2018 1 commit
-
-
Dvir Volk authored
-
- 28 Sep, 2017 1 commit
-
-
zhaozhao.zz authored
-
- 27 Sep, 2017 2 commits
- 14 Jul, 2017 1 commit
-
-
antirez authored
Those calls may be subject to changes in the future, so the user should acknowledge it is using non stable API.
-
- 06 Jul, 2017 1 commit
-
-
antirez authored
-
- 02 May, 2017 1 commit
-
-
antirez authored
-
- 12 Jan, 2017 1 commit
-
-
antirez authored
As suggested by @itamarhaber.
-
- 30 Nov, 2016 2 commits
-
-
Yossi Gottlieb authored
-
antirez authored
-
- 13 Oct, 2016 1 commit
-
-
antirez authored
-
- 07 Oct, 2016 3 commits
- 06 Oct, 2016 2 commits
-
-
antirez authored
-
antirez authored
It was noted by @dvirsky that it is not possible to use string functions when writing the AOF file. This sometimes is critical since the command rewriting may need to be built in the context of the AOF callback, and without access to the context, and the limited types that the AOF production functions will accept, this can be an issue. Moreover there are other needs that we can't anticipate regarding the ability to use Redis Modules APIs using the context in order to build representations to emit AOF / RDB. Because of this a new API was added that allows the user to get a temporary context from the IO context. The context is auto released if obtained when the RDB / AOF callback returns. Calling multiple time the function to get the context, always returns the same one, since it is invalid to have more than a single context.
-
- 02 Oct, 2016 2 commits