citus/src/backend/distributed/utils
Sait Talha Nisanci 6fee3068e3
Not include to-be-deleted shards while finding shard placements
Ignore orphaned shards in more places

Only use active shard placements in RouterInsertTaskList

Use IncludingOrphanedPlacements in some more places

Fix comment

Add tests

(cherry picked from commit e7ed16c296)

Conflicts:
	src/backend/distributed/planner/multi_router_planner.c

Quite trivial conflict that was easy to resolve
2021-07-14 19:28:32 +03:00
..
acquire_lock.c Degrade gracefully when no background workers available 2020-10-05 16:55:00 +03:00
aggregate_utils.c Distribute custom aggregates with multiple arguments (#4047) 2020-07-24 15:16:00 -07:00
cancel_utils.c add IsHoldOffCancellationReceived utility function (#3290) 2019-12-12 17:32:59 +03:00
citus_clauses.c Drop postgres 11 support 2021-03-25 09:20:28 +03:00
citus_copyfuncs.c Only cache local plans when reusing a distributed plan 2021-05-18 16:11:43 +02:00
citus_nodefuncs.c Drop postgres 11 support 2021-03-25 09:20:28 +03:00
citus_outfuncs.c Only cache local plans when reusing a distributed plan 2021-05-18 16:11:43 +02:00
citus_readfuncs.c Remove READFUNCs (#3536) 2020-02-24 12:43:28 +01:00
citus_safe_lib.c Drop postgres 11 support 2021-03-25 09:20:28 +03:00
citus_version.c add gitref to the output of citus_version (#3246) 2019-11-29 15:54:09 +01:00
colocation_utils.c Not include to-be-deleted shards while finding shard placements 2021-07-14 19:28:32 +03:00
distribution_column.c Move CheckCitusVersion to the top of each function 2021-06-01 17:43:46 +02:00
enable_ssl.c Remove unused variable (#4172) 2020-09-18 11:25:07 +03:00
errormessage.c add IsLoggableLevel utility function (#3149) 2019-11-15 14:59:13 +03:00
foreign_key_relationship.c Accept invalidation before fk graph validity check (#5017) 2021-06-02 14:45:35 +03:00
function_utils.c Automatically convert useless declarations using regex replace (#3181) 2019-11-21 13:47:29 +01:00
hash_helpers.c Add the shard rebalancer implementation 2021-01-07 16:51:55 +01:00
listutils.c Remove RemoveDuplicateJoinRestrictions() function 2020-10-21 10:29:39 +02:00
log_utils.c Make ApplyLogRedaction a macro and redefine ereport 2020-01-13 18:24:36 +01:00
maintenanced.c Use "orphaned shards" naming in more places 2021-06-04 11:39:19 +02:00
multi_partitioning_utils.c Drop postgres 11 support 2021-03-25 09:20:28 +03:00
namespace_utils.c Extend citus local table utility command support 2020-09-09 11:50:55 +03:00
query_utils.c Fix partition column index issue (#4591) 2021-01-29 14:40:40 +03:00
reference_table_utils.c Not include to-be-deleted shards while finding shard placements 2021-07-14 19:28:32 +03:00
relation_utils.c Refactor PreprocessIndexStmt (#4272) 2020-11-25 12:19:37 +03:00
resource_lock.c Move CheckCitusVersion to the top of each function 2021-06-01 17:43:46 +02:00
role.c Fix a bug that causes worker_create_or_alter_role to crash with NULL input 2021-07-14 13:56:43 +03:00
shard_utils.c Switch to sequential mode on long partition names 2021-04-14 15:27:50 +03:00
shardinterval_utils.c Not include to-be-deleted shards while finding shard placements 2021-07-14 19:28:32 +03:00
statistics_collection.c Refactor the functions that return OID lists for citus tables 2020-09-18 16:42:46 +03:00
string_utils.c Degrade gracefully when no background workers available 2020-10-05 16:55:00 +03:00
task_execution_utils.c Change utils/hashutils.h to common/hashfn.h for PG >= 13 2020-08-04 15:10:22 +03:00
tuplestore.c Remove copyright years (#2918) 2019-10-15 17:44:30 +03:00