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