mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
568d2e77f4
I was under the impression that setting `services.redis.servers.<name>.save = []` would disable RDB persistence as no schedule would mean no persistence. However since the code did not handle this case specially it actually results in no `save` setting being written and the internal Redis default is used. This patch handles the empty case to disable RDB persistence. Disabling RDB persistence is useful in a number of scenarios: 1. Using Redis in a pure-cache mode where persistence is not desired. 2. When using the (generally superior) AOF persistence mode this file is never read so there is little point to writing it. 3. When saving is handled manually For more information see https://redis.io/docs/manual/persistence/ This is a breaking change as the user may have been relying on `[]` using Redis defaults. However I believe that updating the behaviour for the next release is beneficial as IMHO it is less surprising and does what the user would expect. I have added release notes to warn about this change. |
||
---|---|---|
.. | ||
aerospike.nix | ||
cassandra.nix | ||
clickhouse.nix | ||
cockroachdb.nix | ||
couchdb.nix | ||
dgraph.nix | ||
dragonflydb.nix | ||
firebird.nix | ||
foundationdb.nix | ||
foundationdb.xml | ||
hbase.nix | ||
influxdb2.nix | ||
influxdb.nix | ||
memcached.nix | ||
monetdb.nix | ||
mongodb.nix | ||
mysql.nix | ||
neo4j.nix | ||
openldap.nix | ||
opentsdb.nix | ||
pgmanage.nix | ||
postgresql.nix | ||
postgresql.xml | ||
redis.nix | ||
rethinkdb.nix | ||
victoriametrics.nix |