mirror of https://github.com/citusdata/citus.git
Add check for connection failures during multishard update (#1765)
parent
731b1254f9
commit
4e3d633ebf
|
@ -1141,8 +1141,11 @@ ExecuteModifyTasks(List *taskList, bool expectResults, ParamListInfo paramListIn
|
|||
¤tAffectedTupleCount);
|
||||
}
|
||||
|
||||
/* should have rolled back on error */
|
||||
Assert(queryOK);
|
||||
/* We error out if the worker fails to return a result for the query. */
|
||||
if (!queryOK)
|
||||
{
|
||||
ReportConnectionError(connection, ERROR);
|
||||
}
|
||||
|
||||
if (placementIndex == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue