-
Notifications
You must be signed in to change notification settings - Fork 23.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Identified a bug in rewrite loadmodule #12010
Comments
interesting, we didn't consider the Seems we need exclude configs in |
a link that I feel is related to recently #11736 |
@soloestoy can you elaborate? just keep a flag for each config that was loaded from included file, and avoid writing it to the main one on a rewrite? i imagine that properly solving the problem and allowing these two features to be mixed is too complicated and we should just either disallow that, or advise against it. |
Hi @soloestoy!
I maintain a
secondary.conf
configuration file for loadmodule and other configurations and include them it in theprimary.conf
file which I use to start the redis-server (Redis version=7.0.10).The primary.conf and secondary.conf look like this,
primary.conf
secondary.conf
primary.conf
.redis7>./redis-server ./primary.conf
CONFIG REWRITE
, theprimary.conf
file was appended with 'loadmodule /home/vikram/redis7/aclcheck.so' as said in Modules: rewrite loadmodule and extend LIST reply #4848.redis7>./redis-cli CONFIG REWRITE
primary.conf file after
CONFIG REWRITE
secondary.conf
and one fromprimary.conf
.Originally posted by @vikram-krishna-s in #4848 (comment)
The text was updated successfully, but these errors were encountered: