As discussed in this Community forum post, this PR adds a config option to specify a subset of databases to be replicated to a specific replica. Please note that this config option is only allowed on non-candidate nodes! If we allowed it on candidate nodes then it would delete the other databases when the node became primary.
Usage
To use the filter, specify it with the lease.databases config field:
lease:
candidate: false # Must not be a candidate, otherwise will error out on startup
databases: ["foo.db", "bar.db"]
As discussed in this Community forum post, this PR adds a config option to specify a subset of databases to be replicated to a specific replica. Please note that this config option is only allowed on non-candidate nodes! If we allowed it on candidate nodes then it would delete the other databases when the node became primary.
Usage
To use the filter, specify it with the
lease.databases
config field:or you can use the multiline array format: