[OpenSIPS-Devel] [OpenSIPS/opensips] e85072: Fix race condition on reporting successful per-pro...
Bogdan Andrei IANCU
noreply at github.com
Tue Jan 4 12:15:07 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: e85072cd6e9f54d0a593449b87e492c488393301
https://github.com/OpenSIPS/opensips/commit/e85072cd6e9f54d0a593449b87e492c488393301
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M cfg_reload.c
Log Message:
-----------
Fix race condition on reporting successful per-proc cfg reload
Set the initial per-proc reload status (to SENT) before actually sending the IPC job, to avoid any race condition (in updating the status) with the IPC callback (ran in the target process).
Fixes #2584
Many thanks to @etamme on providing the troubleshooting logs
More information about the Devel
mailing list