pgpool-II 4.3.13 Documentation | |||
---|---|---|---|
Prev | Up | Appendix A. Release Notes | Next |
Release Date: 2022-12-22
Downgrade LOG messages "new IPC connection received" to DEBUG1. (bug 775) (Bo Peng)
It is a normal messages and should not be logged as LOG. Patch is created by pstef and reviewed by Bo Peng.
Fix rare segfaults in pcp_proc_info, SHOW pool_pools and SHOW pool_processes. (Tatsuo Ishii)
The segfaults were in get_pools() and get_processes(). They first extracted pid of particular process info slot on shared memory then searched the slot again by using pid as the key. Because these steps were not protected by any locking, it was possible that the search using the pid failed and returned NULL if the process id is overwritten by pgpool parent which is responsible for forking new child process after the process exiting. As a result any subsequent reference to the NULL pointer generated segfaults.
Solution is, first get the pointer to the process info slot then extract the process id member from the pointer. This way, still concurrent updating to the shared memory info by the parent process is possible (which may lead to strange results in the output) but at least we can avoid segfaults.
Fix to not allow Unix-domain socket path with invalid length. (Masaya Kawamoto)
Doc: enhance description about memqcache_method. (Tatsuo Ishii)
Add explanation which method should be used.
Doc: mention that health check process may use SSL. (Tatsuo Ishii)
Also mention that streaming replication check may use SSL too. This should have been added since 2010.
Discussion: [pgpool-hackers: 4187]
Allow to define PGPOOLDIR using environment variable. (bug 766) (Bo Peng)