The master node already has a UDF to repair an existing placement, but it requires a corresponding UDF on the worker side to actually copy the data between workers. This PR implements that UDF.
Code Review Tasks
[x] Remove copy_shard files and consolidate code in repair_shards files
The master node already has a UDF to repair an existing placement, but it requires a corresponding UDF on the worker side to actually copy the data between workers. This PR implements that UDF.
Code Review Tasks
copy_shard
files and consolidate code inrepair_shards
filesCopyDataFromFinalizedPlacement
argumentsExecuteRemoteCommand
heap_open
/heap_open
ExecMaterializeSlot
creates a copyExecuteRemoteCommand
to permitPGRES_TUPLES_OK
ExecuteRemoteCommandList
instead of handling manuallyrelationKind
assignment until right beforeif
block