[OpenSIPS-Devel] [OpenSIPS/opensips] 26d060: dialog: fix incorrectly discarded dialogs after sync

Vlad Pătrașcu noreply at github.com
Thu Jul 28 14:58:08 UTC 2022


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 26d060753929cc0f4af2bd6b951eb1d3260c4af5
      https://github.com/OpenSIPS/opensips/commit/26d060753929cc0f4af2bd6b951eb1d3260c4af5
  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.

(cherry picked from commit 46e9a53ead0574272609038dc9dbfb92f9087fe4)





More information about the Devel mailing list