citus/src
Eren Basak 99ebe06af5 Enforce statement based replication on old APIs and non-hash tables
This change ignores `citus.replication_model` setting and uses the
statement based replication in

- Tables distributed via the old `master_create_distributed_table` function
- Append and range partitioned tables, even if created via
`create_distributed_table` function

This seems like the easiest solution to #1191, without changing the existing
behavior and harming existing users with custom scripts.

This change also prevents RF>1 on streaming replicated tables on `master_create_worker_shards`

Prior to this change, `master_create_worker_shards` command was not checking
the replication model of the target table, thus allowing RF>1 with streaming
replicated tables. With this change, `master_create_worker_shards` errors
out on the case.
2017-02-16 10:37:53 -08:00
..
backend Enforce statement based replication on old APIs and non-hash tables 2017-02-16 10:37:53 -08:00
include Enforce statement based replication on old APIs and non-hash tables 2017-02-16 10:37:53 -08:00
test/regress Enforce statement based replication on old APIs and non-hash tables 2017-02-16 10:37:53 -08:00