citus/src/backend/distributed/executor
Önder Kalacı c760cd3470
Move local execution after remote execution (#4301)
* Move local execution after the remote execution

Before this commit, when both local and remote tasks
exist, the executor was starting the execution with
local execution. There is no strict requirements on
this.

Especially considering the adaptive connection management
improvements that we plan to roll soon, moving the local
execution after to the remote execution makes more sense.

The adaptive connection management for single node Citus
would look roughly as follows:

   - Try to connect back to the coordinator for running
     parallel queries.
        - If succeeds, go on and execute tasks in parallel
        - If fails, fallback to the local execution

So, we'll use local execution as a fallback mechanism. And,
moving it after to the remote execution allows us to implement
such further scenarios.
2020-11-24 13:43:38 +01:00
..
adaptive_executor.c Move local execution after remote execution (#4301) 2020-11-24 13:43:38 +01:00
citus_custom_scan.c Do not execute subplans multiple times with cursors 2020-11-20 10:43:56 +01:00
directed_acyclic_graph_execution.c Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
distributed_execution_locks.c Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
distributed_intermediate_results.c Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
insert_select_executor.c Introduce cache entry/table utilities (#4132) 2020-09-02 22:26:05 +03:00
intermediate_results.c rename node/worker utilities (#4003) 2020-07-09 15:30:35 +03:00
local_executor.c Move local execution after remote execution (#4301) 2020-11-24 13:43:38 +01:00
multi_client_executor.c Remove unused functions that cppcheck found 2020-10-19 13:50:52 +03:00
multi_executor.c Support EXPLAIN EXECUTE ANALYZE. 2020-08-10 13:44:30 -07:00
multi_server_executor.c Local execution considers intermediate result size limit 2020-10-15 17:18:55 +02:00
partitioned_intermediate_results.c Normalize Output:.. since it changes with pg13 2020-08-04 15:38:13 +03:00
placement_access.c Replace foreach with foreach_ptr/foreach_oid (#3544) 2020-02-27 16:54:49 +01:00
query_stats.c Remove task tracker executor (#3850) 2020-07-18 13:11:36 +03:00
repartition_join_execution.c Introduce GetCurrentLocalExecutionStatus wrapper 2020-10-15 15:38:19 +03:00
subplan_execution.c Fix explain subplan duration 2020-07-03 20:39:55 +03:00
tuple_destination.c Local execution considers intermediate result size limit 2020-10-15 17:18:55 +02:00