mirror of https://github.com/citusdata/citus.git
Mark failed placements as inactive immediately after COPY
parent
b1626887d5
commit
f56454360c
|
@ -536,6 +536,9 @@ CopyToExistingShards(CopyStmt *copyStatement, char *completionTag)
|
||||||
EndCopyFrom(copyState);
|
EndCopyFrom(copyState);
|
||||||
heap_close(distributedRelation, NoLock);
|
heap_close(distributedRelation, NoLock);
|
||||||
|
|
||||||
|
/* mark failed placements as inactive */
|
||||||
|
CheckForFailedPlacements(true, CoordinatedTransactionUses2PC);
|
||||||
|
|
||||||
CHECK_FOR_INTERRUPTS();
|
CHECK_FOR_INTERRUPTS();
|
||||||
|
|
||||||
if (completionTag != NULL)
|
if (completionTag != NULL)
|
||||||
|
|
Loading…
Reference in New Issue