nixos/redis: enable multiple instances of redis-server#142635
nixos/redis: enable multiple instances of redis-server#142635tomberek merged 2 commits intoNixOS:masterfrom
Conversation
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
Might be a bit late in the release cycle to merge this for |
|
It seems to me that the option looks bad: Сan try like this?: or: |
@Izorkin, indeed, I find it bad looking too, but to my mind it is a reminder that
The thing is that
Not sure it can be done and that would be confusing because |
|
Re-visit/re-review this now that 21.11 is complete? |
symphorien
left a comment
There was a problem hiding this comment.
I'm really not familiar with redis, but I left two small comments
There was a problem hiding this comment.
For backward compatibility: previously redis was accessible over TCP by default, but this is not (easily) possible with multiple instances due to the need to allocate a TCP port.
|
I don't think this interacts with #148456 more than any other module so that's fine. That all said, I will leave the review to maintainers who use redis. |
abe003b to
604df18
Compare
|
|
I'll merge this after the weekend it there is no further interest or discussion. This will provide a long time to fix any issues prior to the next release. |
Motivation for this change
Revamping of
services.redisto support per-applicationredis-serveras it's supposed to be used since Redis databases are only mere key prefixes without any configuration or ACL of their own.This is was extracted from #133984 to do a proper review.
Things done
nix -L run -f . nixosTests.redisnix -L run -f . nixosTests.txredisapisandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)