[OpenSIPS/opensips] 8b2f74: 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] 8b2f74: 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: 8b2f74aef79a48bb0798d476844f9d10a17f3b61
      https://github.com/OpenSIPS/opensips/commit/8b2f74aef79a48bb0798d476844f9d10a17f3b61
  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: d9a4923670b4ce4c2cd70acb1e3448deed7da77c
      https://github.com/OpenSIPS/opensips/commit/d9a4923670b4ce4c2cd70acb1e3448deed7da77c
  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: 1ca815a7ae1c08b2a6c8b7bbc544430ecf0e0ee2
      https://github.com/OpenSIPS/opensips/commit/1ca815a7ae1c08b2a6c8b7bbc544430ecf0e0ee2
  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/91d3f39e6710...1ca815a7ae1c

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