Modules: rewrite loadmodule and extend LIST reply#4848
Modules: rewrite loadmodule and extend LIST reply#4848oranagra merged 4 commits intoredis:unstablefrom
Conversation
|
This PR contains two features:
What do you think about it @antirez ? |
|
Thank you, PR checked, everything looks sane but I've to think a bit about the fact of rewriting the config. Probably a good idea but just taking a few days to consider this. Going to merge for RC2 for sure. Thanks. |
|
IIUC, the aim here is that if someone uses the MODULE LOAD or MODULE UNLOAD commands, and then CONFIG REWRITE, the new module list will be reflected in the generated config file, right? |
|
@oranagra No, I think that makes sense. |
|
Sounds good to me as well. |
96ea2bf to
f389a02
Compare
|
I just rebased this PR. BTW, do you think we should show the |
|
i think it can be nice to add the full path and args to the MODULE LIST response with more fields. |
|
@soloestoy shall we merge this with a rebase-merge or a squash merge? also, i'd like to add a test for the CONFIG REWRITE part. |
39e91fb
|
Hi @soloestoy! I maintain a The primary.conf and secondary.conf look like this, primary.confsecondary.conf
primary.conf file after
|
This PR contains three changes:
loadmoduleoptions into config file, in case someone uses MODULE LOAD or UNLOAD commands in runtime.server.loadmodule_queueafter module loaded from config file or UNLOAD to save memory.pathandargsin MODULE LIST reply.