[OpenSIPS-Devel] [OpenSIPS/opensips] cb813b: Fix race condition on reporting successful per-pro...
Bogdan Andrei IANCU
noreply at github.com
Tue Jan 4 12:21:42 UTC 2022
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: cb813ba24e54cd0ed309fe158acb5a0f4a7f318a
https://github.com/OpenSIPS/opensips/commit/cb813ba24e54cd0ed309fe158acb5a0f4a7f318a
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
(cherry picked from commit e85072cd6e9f54d0a593449b87e492c488393301)
More information about the Devel
mailing list