[OpenSIPS-Devel] [OpenSIPS/opensips] 928727: clusterer: Prevent startup delays from causing abo...

Liviu Chircu noreply at github.com
Tue Oct 22 15:11:41 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 928727410a63fa137f48aa8a77492c3c7b14b460
      https://github.com/OpenSIPS/opensips/commit/928727410a63fa137f48aa8a77492c3c7b14b460
  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'.



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list