- 31 10月, 2019 4 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
Using the is_key_ready() callback plus the reply callback later, creates different issues AFAIK: 1. More complex API. 2. We need to call the reply callback() ASAP if the is_key_ready() interface returned success, however the internals do not work in that way, so when the reply callback is called the setup could be different. To fix that, there is to break the current design that handles the unblocked clients asyncrhonously, and run the list ASAP.
-
由 antirez 提交于
Now we handle propagation when we free the context.
-
由 antirez 提交于
-
- 30 10月, 2019 3 次提交
- 28 10月, 2019 12 次提交
-
-
由 antirez 提交于
-
由 antirez 提交于
-
由 Salvatore Sanfilippo 提交于
Make module tests pass with valgrind, and fix a leak in diskless load
-
由 Salvatore Sanfilippo 提交于
Modules: improve tests Makefile.
-
由 Salvatore Sanfilippo 提交于
Module API for LatencyAddSample
-
由 Salvatore Sanfilippo 提交于
Fix some minor typos in comments
-
由 Salvatore Sanfilippo 提交于
fix comment typo in redis-cli.c
-
由 Salvatore Sanfilippo 提交于
Typo fix: kill -> still
-
由 Salvatore Sanfilippo 提交于
Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNull…
-
由 Salvatore Sanfilippo 提交于
Modules: make unloading module more safe
-
由 swilly22 提交于
Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNullArray and ReplyWithEmptyString to redis module API
-
由 zhaozhao.zz 提交于
As we know if a module exports module-side data types, unload it is not allowed. This rule is the same with blocked clients in module, because we use background threads to implement module blocked clients, and it's not safe to unload a module if there are background threads running. So it's necessary to check if any blocked clients running in this module when unload it. Moreover, after that we can ensure that if no modules, then no module blocked clients even module unloaded. So, we can call moduleHandleBlockedClients only when we have installed modules.
-
- 26 10月, 2019 1 次提交
-
-
由 Carsten Strotmann 提交于
-
- 25 10月, 2019 2 次提交
-
-
由 happynote3966 提交于
-
由 Wander Hillen 提交于
-
- 24 10月, 2019 18 次提交
-
-
由 Oran Agra 提交于
-
由 Yossi Gottlieb 提交于
Removes some boilerplate per module, add clean target.
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 Oran Agra 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
We can't use the same client at the same time when re-entering the hook.
-
由 antirez 提交于
-
由 antirez 提交于
Calling a module hook callback may result in callback operations in turn triggering other events the module is subscribed too. We don't want to trigger those, it's unsafe and quite confusing, and to do it correcly we would need to maintain an event list: quite a more complex implementation.
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-
由 antirez 提交于
-