mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-17 02:58:51 +00:00
When initializing security key, a background thread may occur. Sometimes, the system would go to daemonize while that thread was still running, and the whole system could exit. Leading to incomplete write to globals as well as leaving the daemon looking at the data copied over from pre-fork and seeing the last state of that thread forever frozen. Make sure the background threads are fully done prior to exiting.
Description
Languages
Python
80.3%
Shell
15.6%
C
3.6%
Perl
0.3%