citus/src/test/regress
Nils Dijk f9520be011
Round robin queries to reference tables with task_assignment_policy set to `round-robin` (#2472)
Description: Support round-robin `task_assignment_policy` for queries to reference tables.

This PR allows users to query multiple placements of shards in a round robin fashion. When `citus.task_assignment_policy` is set to `'round-robin'` the planner will use a round robin scheduling feature when multiple shard placements are available.

The primary use-case is spreading the load of reference table queries to all the nodes in the cluster instead of hammering only the first placement of the reference table. Since reference tables share the same path for selecting the shards with single shard queries that have multiple placements (`citus.shard_replication_factor > 1`) this setting also allows users to spread the query load on these shards.

For modifying queries we do not apply a round-robin strategy. This would be negated by an extra reordering step in the executor for such queries where a `first-replica` strategy is enforced.
2018-11-15 15:11:15 +01:00
..
data Adds colocation check to local join 2018-04-04 22:49:27 +03:00
expected Round robin queries to reference tables with task_assignment_policy set to `round-robin` (#2472) 2018-11-15 15:11:15 +01:00
input fix \d change for indexes in pg11 2018-08-15 23:27:31 -06:00
mitmscripts Attempt to stabilize packet dumps and add them back it 2018-09-12 22:10:39 -06:00
output fix \d change for indexes in pg11 2018-08-15 23:27:31 -06:00
specs Processes that are blocked on advisory locks show up in wait edges 2018-10-24 13:32:13 +03:00
sql Round robin queries to reference tables with task_assignment_policy set to `round-robin` (#2472) 2018-11-15 15:11:15 +01:00
.gitignore Description: Fix failures of tests on recent postgres builds 2018-11-13 16:53:05 +01:00
Makefile network proxy-based failure testing 2018-07-06 12:38:53 -07:00
Pipfile Travis uses Pipfile instead of re-specifying deps 2018-09-12 17:37:14 -06:00
Pipfile.lock Travis uses Pipfile instead of re-specifying deps 2018-09-12 17:37:14 -06:00
base_schedule Add base schedule for only running specific regression tests 2018-01-25 18:51:22 +01:00
failure_schedule Add failure and cancellation tests for multi row inserts 2018-10-29 11:36:02 +03:00
isolation_schedule Add citus_lock_waits to show locked distributed queries 2018-09-20 14:13:51 +03:00
multi_follower_schedule Allow simple DML commands from hot standby 2018-10-06 10:54:44 +02:00
multi_mx_schedule Support TRUNCATE from the MX worker nodes 2018-09-03 14:06:31 +03:00
multi_schedule Use heap_deform_tuple() instead of calling heap_getattr(). (#2464) 2018-11-05 15:11:01 -05:00
multi_task_tracker_extra_schedule Removes large_table_shard_count GUC 2018-04-29 10:34:50 +02:00
pg_regress_multi.pl Revert "Disable JIT during PostgreSQL 11 test runs" 2018-09-24 09:29:53 +03:00
worker_schedule Initial commit of Citus 5.0 2016-02-11 04:05:32 +02:00