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
cassandra.nix
clickhouse.nix nixos/clickhouse: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:58 -04:00
cockroachdb.nix
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
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
mysql.nix
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.xml
redis.nix
rethinkdb.nix
riak-cs.nix
riak.nix
stanchion.nix nixos/stanchion: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:57 -04:00
virtuoso.nix