-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
91c523c
commit 90a0079
Showing
5 changed files
with
34 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters