nixpkgs-suyu/nixos/modules/services/databases
Kevin Cox 568d2e77f4
nixos.redis: Fix disabling of RDB persistence.
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.
2022-07-05 07:37:38 -04:00
..
aerospike.nix
cassandra.nix nixos/cassandra: Convert option docs to markdown 2022-06-21 13:20:13 +02:00
clickhouse.nix
cockroachdb.nix
couchdb.nix couchdb3: 3.2.1 -> 3.2.2 2022-04-26 09:02:36 +00:00
dgraph.nix dgraph: add module 2022-06-28 02:34:54 -04:00
dragonflydb.nix dragonflydb: init at 0.1.0 2022-06-06 04:05:48 +05:30
firebird.nix
foundationdb.nix
foundationdb.xml
hbase.nix
influxdb.nix
influxdb2.nix
memcached.nix
monetdb.nix
mongodb.nix
mysql.nix
neo4j.nix
openldap.nix nixos/openldap: fix systemd rejecting notification (#177084) 2022-06-13 15:28:12 +02:00
opentsdb.nix
pgmanage.nix
postgresql.nix nixos/postgresql: use postgres 14 for 22.05 2022-05-03 22:23:08 +00:00
postgresql.xml
redis.nix nixos.redis: Fix disabling of RDB persistence. 2022-07-05 07:37:38 -04:00
rethinkdb.nix
victoriametrics.nix