Use hard kill in gpload to avoid unexpected gpfdist hang (#4765)
When gpload finishes its query, it will send SIGTERM to gpfdist. gpfdist handle SIGTERM with exit(1), which will invoke registered apr handlers and cleanup all apr resources including apr_pool. If this happens just during normal destruction of apr_pool in do_close, gpfdist will hang. Call _exit in gpfdist to avoid any cleanup handlers, and let gpload send SIGKILL to perform hard kill.
Showing
想要评论请 注册 或 登录