nixpkgs/nixos/modules/services/databases
Austin Seipp e2bbc6fb46
nixos: fix services.foundationdb.traceFormat for older server versions
This was a testing oversight that came from #61009 -- I forgot to test
the new traceFormat option with older server versions while I was
working on FDB 6.1.

Since trace_format is only available in 6.1+, emitting it
unconditionally caused older versions of the database fail to start,
reporting an error. We simply gate it behind a version check instead,
and assert the format is always XML on older versions. This avoids the
case where the user has an old version, changes traceFormat willingly,
and then is confused by why it didn't work.

As reported by @TimothyKlim in the comments on commit
c55b9236f0. See

    c55b9236f0 (r33566132)

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-16 15:16:50 -05:00
..
4store-endpoint.nix
4store.nix
aerospike.nix aerospike: Disables build on aarch64 2018-12-10 14:55:19 -05:00
cassandra.nix cassandra: add option to configure logging 2018-12-05 15:17:37 +01:00
clickhouse.nix nixos/clickhouse: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:58 -04:00
cockroachdb.nix nixos/cockroachdb: simplify dataDir management, tweaks 2018-12-04 19:44:16 -06:00
couchdb.nix nixos/couchdb: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:58 -04:00
firebird.nix
foundationdb.nix nixos: fix services.foundationdb.traceFormat for older server versions 2019-05-16 15:16:50 -05:00
foundationdb.xml
hbase.nix nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
influxdb.nix nixos/influxdb: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:59 -04:00
memcached.nix nixos/memcached: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:55 -04:00
monetdb.nix
mongodb.nix nixos/mongodb: /var/run -> /run 2019-03-20 00:02:43 +01:00
mysql.nix nixos/mysql: specify option types 2019-03-15 16:32:36 +01:00
neo4j.nix
openldap.nix nixos/openldap: make rootpw option optional 2019-04-23 16:35:33 +01:00
opentsdb.nix
pgmanage.nix
postgresql.nix postgresql: Move socket dir to /run/postgresql 2019-03-15 04:52:35 +01:00
postgresql.xml
redis.nix nixos/redis: /var/run -> /run 2019-03-20 00:02:43 +01:00
rethinkdb.nix nixos/rethinkdb: /var/run -> /run 2019-03-20 00:02:43 +01:00
riak-cs.nix
riak.nix
stanchion.nix nixos/stanchion: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:57 -04:00
virtuoso.nix