Skip forward QE notice for Background workers.
Background workers have no client at all, so no need to forward QE message. On the other hand, MyProcPort is not initialized in background workers. While forward notice currently assume MyProcPort is already initialized. This is firstly detected by diskquota background worker. It also reported by #6756 which causes GDD infinite loop. GDD currently set the MyProcPort manually. This commit also removes MyProcPort in GDD, since there is no client in GDD process neither. So GDD and background worker will both skip generate/forward QE notice. Co-authored-by: Zhenghua Lyu zlv@pivotal.io Reviewed-by: NHeikki Linnakangas <hlinnakangas@pivotal.io> Reviewed-by: NPengcheng Tang <petang@pivotal.io>
Showing
想要评论请 注册 或 登录