[OpenSIPS-Devel] [OpenSIPS/opensips] 931a7a: dialog sync: Fix some subtle backup box restart bugs
Liviu Chircu
noreply at github.com
Wed Jul 31 03:19:11 EDT 2019
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 931a7a1f5cb3b6dabe759bc526a6f6a60ba606a6
https://github.com/OpenSIPS/opensips/commit/931a7a1f5cb3b6dabe759bc526a6f6a60ba606a6
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog sync: Fix some subtle backup box restart bugs
In an HA setup, following a restart of the backup box, there would be:
* an extra ref for dialogs loaded from DB but not confirmed through
sync, leading to a few hanging state 5 dialogs (added in 51b5ec3b)
* too little 'active_dlgs' stat decrements during the above
corner-cases, since update_dlg_stats() ignores state 5 dialogs
(cherry picked from commit 509e18113be5f217e6f421c97d2545239d996729)
More information about the Devel
mailing list