mirror of https://github.com/citusdata/citus.git
Error out if shard_replication_factor > 1 with repartitioning
As we are removing the task tracker, we cannot switch to it if shard_replication_factor > 1. In that case, we simply error out.pull/3850/head
parent
52e6e82ad8
commit
836992562c
|
@ -111,7 +111,8 @@ JobExecutorType(DistributedPlan *distributedPlan)
|
|||
}
|
||||
if (HasReplicatedDistributedTable(distributedPlan->relationIdList))
|
||||
{
|
||||
return MULTI_EXECUTOR_TASK_TRACKER;
|
||||
ereport(ERROR, (errmsg(
|
||||
"repartitioning with shard_replication_factor > 1 is not supported")));
|
||||
}
|
||||
return MULTI_EXECUTOR_ADAPTIVE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue