pxf icon indicating copy to clipboard operation
pxf copied to clipboard

Restrict PXF cluster commands can only be run on the Greenplum coordinator

Open yimingli-vmware opened this issue 1 year ago • 0 comments

In this PR:

  • Check if pxf cluster commands are running on the Greenplum coordinator by looking for the coordinator data directory. Error out and exit when the cluster commands are running on the segments
  • Unit tests for mocking cluster commands are running on the coordinator and segments
  • Update the README about how to debug the unit tests with dlv

yimingli-vmware avatar Mar 25 '24 19:03 yimingli-vmware