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

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


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