gpdb
gpdb copied to clipboard
Clean up GDD's gang after acquiring the lock status
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