Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modules: block on keys: fix stale comment.module-block-on-keys | antirez | 2019-10-31 | 1 | -2/+3 |
| | |||||
* | Modules: block on keys: finish implementing RM_UnblockClient(). | antirez | 2019-10-31 | 1 | -5/+14 |
| | |||||
* | Modules: block ok keys: improve example. | antirez | 2019-10-31 | 1 | -0/+8 |
| | |||||
* | Modules: block on keys: fix bugs in processing order. | antirez | 2019-10-31 | 2 | -0/+23 |
| | |||||
* | Modules: block on keys: fix the top comments. | antirez | 2019-10-31 | 1 | -18/+23 |
| | |||||
* | Modules: block on keys: use a better interface. | antirez | 2019-10-31 | 5 | -45/+65 |
| | | | | | | | | | | | | 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. | ||||
* | Modules: remove spurious call from moduleHandleBlockedClients(). | antirez | 2019-10-31 | 1 | -1/+0 |
| | | | | Now we handle propagation when we free the context. | ||||
* | Modules: block on keys: example on hellotype.c. | antirez | 2019-10-31 | 1 | -0/+68 |
| | |||||
* | Modules: block on keys: implement the internals. | antirez | 2019-10-30 | 3 | -8/+78 |
| | |||||
* | Modules: block on keys: export APIs. | antirez | 2019-10-30 | 2 | -0/+15 |
| | |||||
* | Modules: block on keys functions layout and mechanism. | antirez | 2019-10-30 | 1 | -17/+104 |
| | |||||
* | LOLWUT 6: always pick a default color sequence. | antirez | 2019-10-28 | 1 | -0/+1 |
| | |||||
* | Merge branch 'unstable' of github.com:/antirez/redis into unstable | antirez | 2019-10-28 | 13 | -66/+139 |
|\ | |||||
| * | Merge pull request #6496 from oranagra/module_tests_valgrind | Salvatore Sanfilippo | 2019-10-28 | 4 | -28/+36 |
| |\ | | | | | | | Make module tests pass with valgrind, and fix a leak in diskless load | ||||
| | * | Make module tests pass with valgrind, and fix a leak in diskless load | Oran Agra | 2019-10-24 | 4 | -28/+36 |
| | | | |||||
| * | | Merge pull request #6493 from yossigo/modules-make-cleanup | Salvatore Sanfilippo | 2019-10-28 | 1 | -24/+15 |
| |\ \ | | | | | | | | | Modules: improve tests Makefile. | ||||
| | * | | Modules: improve tests Makefile. | Yossi Gottlieb | 2019-10-24 | 1 | -24/+15 |
| | | | | | | | | | | | | | | | | Removes some boilerplate per module, add clean target. | ||||
| * | | | Merge pull request #6498 from oranagra/rm_latency_add_sample | Salvatore Sanfilippo | 2019-10-28 | 4 | -2/+13 |
| |\ \ \ | | | | | | | | | | | Module API for LatencyAddSample | ||||
| | * | | | Module API for LatencyAddSample | Oran Agra | 2019-10-24 | 4 | -2/+13 |
| | | |/ | | |/| | |||||
| * | | | Merge pull request #4761 from WJWH/minor-typos | Salvatore Sanfilippo | 2019-10-28 | 3 | -5/+5 |
| |\ \ \ | | | | | | | | | | | Fix some minor typos in comments | ||||
| | * \ \ | Merge branch 'unstable' into minor-typos | Wander Hillen | 2019-10-25 | 535 | -33017/+80610 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | * | | | More typos | Wander Hillen | 2018-03-16 | 2 | -2/+2 |
| | | | | | |||||
| | * | | | Fix typos, add some periods | Wander Hillen | 2018-03-16 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Merge pull request #6502 from happynote3966/typo-fix | Salvatore Sanfilippo | 2019-10-28 | 1 | -1/+1 |
| |\ \ \ \ | | | | | | | | | | | | | fix comment typo in redis-cli.c | ||||
| | * | | | | fix comment typo in redis-cli.c | happynote3966 | 2019-10-25 | 1 | -1/+1 |
| | | |/ / | | |/| | | |||||
| * | | | | Merge pull request #6503 from cstrotm/unstable | Salvatore Sanfilippo | 2019-10-28 | 1 | -4/+3 |
| |\ \ \ \ | | | | | | | | | | | | | Typo fix: kill -> still | ||||
| | * | | | | Typo fix: kill -> still | Carsten Strotmann | 2019-10-25 | 1 | -4/+3 |
| | |/ / / | |||||
| * | | | | Merge pull request #6505 from swilly22/replaywith-module-API-additions | Salvatore Sanfilippo | 2019-10-28 | 2 | -1/+54 |
| |\ \ \ \ | | | | | | | | | | | | | Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNull… | ||||
| | * | | | | Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNullArray ↵ | swilly22 | 2019-10-28 | 2 | -1/+54 |
| | |/ / / | | | | | | | | | | | | | | | | and ReplyWithEmptyString to redis module API | ||||
| * | | | | Merge pull request #4994 from soloestoy/module-blocked-client | Salvatore Sanfilippo | 2019-10-28 | 2 | -1/+12 |
| |\ \ \ \ | | |/ / / | |/| | | | Modules: make unloading module more safe | ||||
| | * | | | Modules: make unloading module more safe | zhaozhao.zz | 2019-10-28 | 2 | -1/+12 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Remove trailing space from server.c. | antirez | 2019-10-24 | 1 | -1/+1 |
|/ / / | |||||
* | | | Modules hooks: test flush event. | antirez | 2019-10-24 | 3 | -3/+17 |
| | | | |||||
* | | | Modules hooks: initial Tcl test file. | antirez | 2019-10-24 | 2 | -1/+19 |
| | | | |||||
* | | | Modules hooks: select DB zero by default. | antirez | 2019-10-23 | 1 | -0/+5 |
| | | | |||||
* | | | Modules hooks: test module draft. | antirez | 2019-10-23 | 2 | -1/+82 |
| | | | |||||
* | | | Modules hooks: fix memory leak in example module. | antirez | 2019-10-23 | 1 | -0/+1 |
| | | | |||||
* | | | Modules hooks: for nested calls, create new fake clients. | antirez | 2019-10-23 | 1 | -4/+18 |
| | | | | | | | | | | | | We can't use the same client at the same time when re-entering the hook. | ||||
* | | | Modules hooks: don't call the hook for fake clients. | antirez | 2019-10-23 | 1 | -3/+7 |
| | | | |||||
* | | | Modules hooks: do not re-enter in hooks. | antirez | 2019-10-23 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Modules hooks: select the right DB for FLUSHDB events. | antirez | 2019-10-23 | 1 | -0/+3 |
| | | | |||||
* | | | Modules hooks: FLUSHDB event example. | antirez | 2019-10-23 | 2 | -0/+29 |
| | | | |||||
* | | | Modules hooks: implement the FLUSHDB event. | antirez | 2019-10-23 | 3 | -2/+18 |
| | | | |||||
* | | | Modules hooks: unify structures definitions. | antirez | 2019-10-23 | 2 | -25/+42 |
| | | | |||||
* | | | Modules hooks: document what yet to implement WIP 2. | antirez | 2019-10-23 | 1 | -15/+60 |
| | | | |||||
* | | | Modules hooks: document what yet to implement WIP 1. | antirez | 2019-10-23 | 2 | -8/+79 |
| | | | |||||
* | | | Modules hooks: do more in example client callback. | antirez | 2019-10-23 | 1 | -1/+6 |
| | | | |||||
* | | | Module hooks: fixes and an example module. | antirez | 2019-10-23 | 4 | -2/+70 |
| | | | |||||
* | | | Modules hooks: fix sub event in calls from client change. | antirez | 2019-10-23 | 1 | -1/+4 |
| | | | |||||
* | | | Modules hooks: fix define / linker issues. Implement one test event. | antirez | 2019-10-23 | 4 | -37/+42 |
| | | |