[OpenSIPS/opensips] a20a0a: clusterer: Enhance the versioning of sync packets

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] a20a0a: clusterer: Enhance the versioning of sync packets

Liviu Chircu-3
  Branch: refs/heads/bugfix/fix-dialog-sync-bugs
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a20a0acb5d9e8ef75d4cf2bb081ed1d5d259a3dd
      https://github.com/OpenSIPS/opensips/commit/a20a0acb5d9e8ef75d4cf2bb081ed1d5d259a3dd
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M bin_interface.c
    M bin_interface.h
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.h
    M modules/clusterer/sync.c
    M modules/clusterer/sync.h
    M modules/dialog/dlg_replication.c
    M modules/usrloc/ureplication.c

  Log Message:
  -----------
  clusterer: Enhance the versioning of sync packets

This commit adds an additional "version" field for the sync packets,
which are more complex than the other ones.  Since they contain
serialization logic from two different layers (clusterer + data module),
they should also contain two version fields, to allow each module to
discard data coming from an OpenSIPS donor node running on a differing
binary version.


  Commit: e33565342065298eeb542a73503f84402cc1076d
      https://github.com/OpenSIPS/opensips/commit/e33565342065298eeb542a73503f84402cc1076d
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog replication: Revert the sync packet alignment code

... since now it is unnecessary, thanks to the sync layer enhancements.


  Commit: b8bde2f014e5b427c8517493a7ada16923d0928c
      https://github.com/OpenSIPS/opensips/commit/b8bde2f014e5b427c8517493a7ada16923d0928c
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-07-29 (Mon, 29 Jul 2019)

  Changed paths:
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog sync: Do not include early or ended dialogs


Compare: https://github.com/OpenSIPS/opensips/compare/1ca815a7ae1c...b8bde2f014e5

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel