summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Modules: block on keys: fix stale comment.module-block-on-keysantirez2019-10-311-2/+3
|
* Modules: block on keys: finish implementing RM_UnblockClient().antirez2019-10-311-5/+14
|
* Modules: block ok keys: improve example.antirez2019-10-311-0/+8
|
* Modules: block on keys: fix bugs in processing order.antirez2019-10-312-0/+23
|
* Modules: block on keys: fix the top comments.antirez2019-10-311-18/+23
|
* Modules: block on keys: use a better interface.antirez2019-10-315-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().antirez2019-10-311-1/+0
| | | | Now we handle propagation when we free the context.
* Modules: block on keys: example on hellotype.c.antirez2019-10-311-0/+68
|
* Modules: block on keys: implement the internals.antirez2019-10-303-8/+78
|
* Modules: block on keys: export APIs.antirez2019-10-302-0/+15
|
* Modules: block on keys functions layout and mechanism.antirez2019-10-301-17/+104
|
* LOLWUT 6: always pick a default color sequence.antirez2019-10-281-0/+1
|
* Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2019-10-2813-66/+139
|\
| * Merge pull request #6496 from oranagra/module_tests_valgrindSalvatore Sanfilippo2019-10-284-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 loadOran Agra2019-10-244-28/+36
| | |
| * | Merge pull request #6493 from yossigo/modules-make-cleanupSalvatore Sanfilippo2019-10-281-24/+15
| |\ \ | | | | | | | | Modules: improve tests Makefile.
| | * | Modules: improve tests Makefile.Yossi Gottlieb2019-10-241-24/+15
| | | | | | | | | | | | | | | | Removes some boilerplate per module, add clean target.
| * | | Merge pull request #6498 from oranagra/rm_latency_add_sampleSalvatore Sanfilippo2019-10-284-2/+13
| |\ \ \ | | | | | | | | | | Module API for LatencyAddSample
| | * | | Module API for LatencyAddSampleOran Agra2019-10-244-2/+13
| | | |/ | | |/|
| * | | Merge pull request #4761 from WJWH/minor-typosSalvatore Sanfilippo2019-10-283-5/+5
| |\ \ \ | | | | | | | | | | Fix some minor typos in comments
| | * \ \ Merge branch 'unstable' into minor-typosWander Hillen2019-10-25535-33017/+80610
| | |\ \ \ | | | | |/ | | | |/|
| | * | | More typosWander Hillen2018-03-162-2/+2
| | | | |
| | * | | Fix typos, add some periodsWander Hillen2018-03-161-4/+4
| | | | |
| * | | | Merge pull request #6502 from happynote3966/typo-fixSalvatore Sanfilippo2019-10-281-1/+1
| |\ \ \ \ | | | | | | | | | | | | fix comment typo in redis-cli.c
| | * | | | fix comment typo in redis-cli.chappynote39662019-10-251-1/+1
| | | |/ / | | |/| |
| * | | | Merge pull request #6503 from cstrotm/unstableSalvatore Sanfilippo2019-10-281-4/+3
| |\ \ \ \ | | | | | | | | | | | | Typo fix: kill -> still
| | * | | | Typo fix: kill -> stillCarsten Strotmann2019-10-251-4/+3
| | |/ / /
| * | | | Merge pull request #6505 from swilly22/replaywith-module-API-additionsSalvatore Sanfilippo2019-10-282-1/+54
| |\ \ \ \ | | | | | | | | | | | | Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNull…
| | * | | | Introduce ReplyWithVerbatimString, ReplyWithEmptyArray, ReplyWithNullArray ↵swilly222019-10-282-1/+54
| | |/ / / | | | | | | | | | | | | | | | and ReplyWithEmptyString to redis module API
| * | | | Merge pull request #4994 from soloestoy/module-blocked-clientSalvatore Sanfilippo2019-10-282-1/+12
| |\ \ \ \ | | |/ / / | |/| | | Modules: make unloading module more safe
| | * | | Modules: make unloading module more safezhaozhao.zz2019-10-282-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.antirez2019-10-241-1/+1
|/ / /
* | | Modules hooks: test flush event.antirez2019-10-243-3/+17
| | |
* | | Modules hooks: initial Tcl test file.antirez2019-10-242-1/+19
| | |
* | | Modules hooks: select DB zero by default.antirez2019-10-231-0/+5
| | |
* | | Modules hooks: test module draft.antirez2019-10-232-1/+82
| | |
* | | Modules hooks: fix memory leak in example module.antirez2019-10-231-0/+1
| | |
* | | Modules hooks: for nested calls, create new fake clients.antirez2019-10-231-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.antirez2019-10-231-3/+7
| | |
* | | Modules hooks: do not re-enter in hooks.antirez2019-10-231-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.antirez2019-10-231-0/+3
| | |
* | | Modules hooks: FLUSHDB event example.antirez2019-10-232-0/+29
| | |
* | | Modules hooks: implement the FLUSHDB event.antirez2019-10-233-2/+18
| | |
* | | Modules hooks: unify structures definitions.antirez2019-10-232-25/+42
| | |
* | | Modules hooks: document what yet to implement WIP 2.antirez2019-10-231-15/+60
| | |
* | | Modules hooks: document what yet to implement WIP 1.antirez2019-10-232-8/+79
| | |
* | | Modules hooks: do more in example client callback.antirez2019-10-231-1/+6
| | |
* | | Module hooks: fixes and an example module.antirez2019-10-234-2/+70
| | |
* | | Modules hooks: fix sub event in calls from client change.antirez2019-10-231-1/+4
| | |
* | | Modules hooks: fix define / linker issues. Implement one test event.antirez2019-10-234-37/+42
| | |