[OpenSIPS-Devel] [OpenSIPS/opensips] 46e9a5: dialog: fix incorrectly discarded dialogs after sync
Vlad Pătrașcu
noreply at github.com
Thu Jul 28 14:57:56 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 46e9a53ead0574272609038dc9dbfb92f9087fe4
https://github.com/OpenSIPS/opensips/commit/46e9a53ead0574272609038dc9dbfb92f9087fe4
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-07-28 (Thu, 28 Jul 2022)
Changed paths:
M modules/dialog/dialog.c
M modules/dialog/dlg_replication.c
M modules/dialog/dlg_replication.h
Log Message:
-----------
dialog: fix incorrectly discarded dialogs after sync
Syncing while the donor node is also sending live replication packets
may lead to incorrectly discarding some of the newly received dialogs.
There were two ways in which new dialogs were actually mistaken as old,
"local" dialogs from before syncing:
* overwriting the dialog flags when handling a replicated update;
* not marking live replicated dialogs received during sync as "new" dialogs.
More information about the Devel
mailing list