gpdb icon indicating copy to clipboard operation
gpdb copied to clipboard

Clean up GDD's gang after acquiring the lock status

Open dreamedcheng opened this issue 1 year ago • 0 comments

Not that commit 1735b5ca3dd37d83e58d3fd4d5da3d31d4d948dc remove DisconnectAndDestroyAllGangs in gp_dist_wait_status to avoid error when calling it in transaction blcok. However, it will cause GDD's gang exists all the time when the cluster is up (with GDD enabled).

There is no need for the long existence of GDD's gang, and it will further cause utility tools like gp_toolkit.__gp_check_orphaned_files_func throw There is a client session running on one or more segment.Aborting... ERROR.

Here are some reminders before you submit the pull request

  • [ ] Add tests for the change
  • [ ] Document changes
  • [ ] Communicate in the mailing list if needed
  • [ ] Pass make installcheck
  • [ ] Review a PR in return to support the community

dreamedcheng avatar Dec 24 '23 04:12 dreamedcheng