[OpenSIPS-Devel] [OpenSIPS/opensips] 90a007: usrloc HA: Improve management for replicated "labels"
Liviu Chircu
noreply at github.com
Wed Nov 27 09:35:08 UTC 2024
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 90a00795b1d0685394818c4a69c235f487389878
https://github.com/OpenSIPS/opensips/commit/90a00795b1d0685394818c4a69c235f487389878
Author: Liviu Chircu <liviu at opensips.org>
Date: 2024-11-27 (Wed, 27 Nov 2024)
Changed paths:
M modules/usrloc/dlist.h
M modules/usrloc/ucontact.h
M modules/usrloc/udomain.c
M modules/usrloc/ul_cluster.c
M modules/usrloc/urecord.c
Log Message:
-----------
usrloc HA: Improve management for replicated "labels"
This patch aims to fix the occasional "differring rlabels"
debugging error messages which may occur after a restart in usrloc HA
scenarios, especially if the active SIP box is restarted while
processing REGISTER requests in parallel.
Since both record and contact labels are dynamic, per-instance and lost
on restart, conflicts are to be expected. The idea behind the fix is to
simply adapt the replicated contact_id to the local instance, thus
preferring the local labels to the remote labels whenever detecting
conflict.
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list