[OpenSIPS-Devel] [OpenSIPS/opensips] a70ee6: clusterer: Prevent startup delays from causing abo...
Liviu Chircu
noreply at github.com
Tue Oct 22 15:11:59 UTC 2024
Branch: refs/heads/3.5
Home: https://github.com/OpenSIPS/opensips
Commit: a70ee60c4c0a93ad2ba686be810d1850b7c9113d
https://github.com/OpenSIPS/opensips/commit/a70ee60c4c0a93ad2ba686be810d1850b7c9113d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M globals.c
M globals.h
M modules/clusterer/clusterer.c
M modules/clusterer/clusterer.h
M modules/clusterer/sync.c
M sr_module.c
M status_report.c
Log Message:
-----------
clusterer: Prevent startup delays from causing aborted syncs
This patch makes it so the 'seed_fallback_interval' modparam
time-counting is done in a way that *ignores* any random startup delays
(e.g. mod init stuff which may take time such as loading drouting,
dispatcher, rtpproxy, etc.).
Previously, the effect of this issue was that some modules (e.g. usrloc)
would randomly *not* sync data on startup, depending if the startup
delay happened to be lesser or greater than the 'seed_fallback_interval'.
(cherry picked from commit 928727410a63fa137f48aa8a77492c3c7b14b460)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list