citus/src/include
Marco Slot 44d1f7b950 Add read locks for making INSERT/SELECT consistent across placements
When an INSERT/SELECT command runs on a distributed table with replication
factor >1, we need to ensure that it sees the same result on each placement
of a shard. After this change, the router executor takes exclusive locks on
shards from which the SELECT in an INSERT/SELECT reads in order to prevent
concurrent changes. This is not a very optimal solution, but it's simple
and correct.

The citus.all_modifications_commutative can be used to avoid aggressive
locking. An INSERT/SELECT whose filters are known to exclude any ongoing
writes can be marked as commutative.
2016-10-24 18:24:04 +02:00
..
distributed Add read locks for making INSERT/SELECT consistent across placements 2016-10-24 18:24:04 +02:00
.gitignore Changed product name to citus 2016-02-15 16:04:31 +02:00
citus_config.h.in Changed product name to citus 2016-02-15 16:04:31 +02:00