- 11 May, 2018 1 commit
-
-
antirez authored
This commit also adds a top comment about a subtle behavior of mixing blocking operations of different types in the same key.
-
- 09 May, 2018 2 commits
- 29 Apr, 2018 1 commit
-
-
Itamar Haber authored
An implementation of the [Ze POP Redis Module](https://github.com/itamarhaber/zpop) as core Redis commands. Fixes #1861.
-
- 19 Apr, 2018 2 commits
- 18 Apr, 2018 1 commit
-
-
antirez authored
-
- 17 Apr, 2018 2 commits
- 13 Apr, 2018 3 commits
-
-
zhaozhao.zz authored
-
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.
-
antirez authored
-
- 12 Apr, 2018 2 commits
- 11 Apr, 2018 3 commits
- 09 Apr, 2018 5 commits
-
-
antirez authored
Plus freeMemoryIfNeeded() refactoring to improve legibility. Please review this commit for sanity.
-
antirez authored
-
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
- 31 Mar, 2018 3 commits
- 30 Mar, 2018 10 commits
- 29 Mar, 2018 1 commit
-
-
antirez authored
-
- 28 Mar, 2018 1 commit
-
-
antirez authored
While this feature is not used by Redis, ae.c implements the ability for a timer to call a finalizer callback when an timer event is deleted. This feature was bugged since the start, and because it was never used we never noticed a problem. However Anthony LaTorre was using the same library in order to implement a different system: he found a bug that he describes as follows, and which he fixed with the patch in this commit, sent me by private email: --- Anthony email --- 've found one bug in the current implementation of the timed events. It's possible to lose track of a timed event if an event is added in the finalizerProc of another event. For example, suppose you start off with three timed events 1, 2, and 3. Then the linked list looks like: 3 -> 2 -> 1 Then, you run processTimeEvents and events 2 and 3 finish, so now the list looks like: -1 -> -1 -> 2 Now, on the next iteration of processTimeEvents it starts by deleting the first event, an...
-