summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Comment PR #5916 and changes a few details.acl-api-prantirez2019-11-201-34/+113
|
* Improved some error handling in examplesMadelyn Olson2019-11-062-2/+8
|
* Added handling for unloading an auth moduleMadelyn Olson2019-11-065-36/+73
|
* Add module APIs for custom authenticationMadelyn Olson2019-11-069-30/+398
|
* Merge pull request #6540 from oranagra/simple_module_api_testsSalvatore Sanfilippo2019-11-042-0/+88
|\ | | | | Test coverage for new module APIs: dbsize, flushall, randomkey, lru get/set
| * Test coverage for new module APIs: dbsize, flushall, randomkey, lru get/setOran Agra2019-11-042-0/+88
| |
* | Merge pull request #6539 from kristoff-it/unstableSalvatore Sanfilippo2019-11-042-10/+19
|\ \ | | | | | | fix unreported overflow in autogerenared stream IDs
| * | fix unreported overflow in autogerenared stream IDsLoris Cro2019-11-042-10/+19
| | |
| * | Merge pull request #1 from antirez/unstableLoris Cro2019-11-04145-1624/+10347
| |\ \ | | |/ | | | update to latest unstable
* | | Merge pull request #6531 from oranagra/rm_save_long_doubleSalvatore Sanfilippo2019-11-048-29/+86
|\ \ \ | |_|/ |/| | Module API for loading and saving long double
| * | Module API for loading and saving long doubleOran Agra2019-11-038-29/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looks like each platform implements long double differently (different bit count) so we can't save them as binary, and we also want to avoid creating a new RDB format version, so we save these are hex strings using "%La". This commit includes a change in the arguments of ld2string to support this. as well as tests for coverage and short reads. coded by @guybe7
* | | Merge pull request #6486 from oranagra/module_lru_lfuSalvatore Sanfilippo2019-11-045-6/+57
|\ \ \ | | | | | | | | Module API for controlling LRU and LFU, and OpenKey without TOUCH
| * \ \ Merge branch 'unstable' into module_lru_lfuSalvatore Sanfilippo2019-11-0420-144/+1489
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #6532 from oranagra/rm_misc_commandsSalvatore Sanfilippo2019-11-044-20/+69
|\ \ \ \ | | | | | | | | | | Module API for PUBLISH, FLUSHALL, RANDOMKEY, DBSIZE
| * | | | Module API for PUBLISH, FLUSHALL, RANDOMKEY, DBSIZEOran Agra2019-11-044-20/+69
| | |/ / | |/| |
* | | | Merge pull request #6535 from guybe7/module_block_on_keys_testsSalvatore Sanfilippo2019-11-044-1/+349
|\ \ \ \ | | | | | | | | | | Modules: Test RedisModule_BlockClientOnKeys
| * | | | Modules: Test RedisModule_BlockClientOnKeysGuy Benoish2019-11-044-1/+349
| |/ / /
* | | | Merge pull request #6514 from oranagra/module_hooksSalvatore Sanfilippo2019-11-0413-94/+737
|\ \ \ \ | |/ / / |/| | | Modules hooks: complete missing hooks for the initial set of hooks
| * | | Merge branch 'unstable' into module_hooksSalvatore Sanfilippo2019-11-045-29/+334
| |\ \ \ | |/ / / |/| | |
* | | | Modules: fix thread safe context creation crash.antirez2019-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | See #6525, this likely creates a NULL deference if the client was terminated by Redis between the creation of the blocked client and the creation of the thread safe context.
* | | | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2019-10-318-5/+179
|\ \ \ \
* | | | | 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
| | | | |
| | * | | Modules hooks: complete missing hooks for the initial set of hooksOran Agra2019-10-2913-94/+737
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replication hooks: role change, master link status, replica online/offline * persistence hooks: saving, loading, loading progress * misc hooks: cron loop, shutdown, module loaded/unloaded * change the way hooks test work, and add tests for all of the above startLoading() now gets flag indicating what is loaded. stopLoading() now gets an indication of success or failure. adding startSaving() and stopSaving() with similar args and role.
| | * | Module API for controlling LRU and LFU, and OpenKey without TOUCHOran Agra2019-10-295-6/+57
| |/ / | | | | | | | | | | | | | | | | | | | | | Some commands would want to open a key without touching it's LRU/LFU similarly to the OBJECT or DEBUG command do. Other commands may want to implement logic similar to what RESTORE does (and in the future MIGRATE) and get/set the LRU or LFU.
| * | Merge pull request #6487 from oranagra/module_modified_keySalvatore Sanfilippo2019-10-292-1/+24
| |\ \ | | | | | | | | Module API for explicit SignalModifiedKey instead of implicit one.
| | * | Module API for explicit SignalModifiedKey instead of implicit one.Oran Agra2019-10-282-1/+24
| | | | | | | | | | | | | | | | This commit also fixes an uninitialized module struct member (that luckily never got released)
| * | | Merge pull request #6470 from gkorland/CISalvatore Sanfilippo2019-10-291-0/+28
| |\ \ \ | | | | | | | | | | Add Github action for CI
| | * | | add CI actionGuy Korland2019-10-203-30/+28
| | | | |
| | * | | Merge branch 'unstable' of github.com:antirez/redis into unstableGuy Korland2019-10-20163-2589/+12176
| | |\ \ \
| | * | | | Update config.ymlGuy Korland2019-03-151-5/+0
| | | | | |
| | * | | | Update pull.ymlGuy Korland2019-03-151-0/+9
| | | | | |
| | * | | | Update config.ymlGuy Korland2019-03-151-1/+1
| | | | | |
| | * | | | add pull appGuy Korland2019-03-151-0/+5
| | | | | |
| | * | | | add CIGuy Korland2019-03-151-0/+21
| | | | | |
| * | | | | Merge pull request #6508 from guybe7/fix_module_notify_comp_errorSalvatore Sanfilippo2019-10-291-0/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | Fix compilation error introduced by cee6dead3
| | * | | | | Fix compilation error introduced by cee6dead3Guy Benoish2019-10-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to add calls to REDISMODULE_API_FUNC...
| * | | | | | Merge pull request #6495 from oranagra/rm_call_argvSalvatore Sanfilippo2019-10-297-4/+94
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Module api RM_CallArgv and test
| | * | | | | Module api tests for RM_CallOran Agra2019-10-287-4/+94
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a test for coverage for RM_Call in a new "misc" unit to be used for various short simple tests also solves compilation warnings in redismodule.h and fork.c
| * | | | | Merge pull request #6481 from guybe7/modules_notifySalvatore Sanfilippo2019-10-282-0/+30
| |\ \ \ \ \ |/ / / / / / | | | | | | Modules: Allow notifying custom keyspace events
| * | | | | Modules: Allow notifying custom keyspace eventsGuy Benoish2019-10-282-0/+30
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add an API for getting server.notify_keyspace_events Other (unrelated) changes: Add RM_GetKeynameFromModuleKey