[OpenSIPS-Devel] [OpenSIPS/opensips] c07621: Added full data sharing across presence cluster.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Mar 26 16:12:25 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c0762189f942e22e1e51697635174a1104e2f480
      https://github.com/OpenSIPS/opensips/commit/c0762189f942e22e1e51697635174a1104e2f480
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M db/schema/pr_active_watchers.xml
    M modules/presence/clustering.c
    M modules/presence/clustering.h
    M modules/presence/hash.c
    M modules/presence/notify.c
    M modules/presence/notify.h
    M modules/presence/presence.c
    M modules/presence/presentity.c
    M modules/presence/publish.c
    A modules/presence/sharing_tags.c
    A modules/presence/sharing_tags.h
    M modules/presence/subscribe.c
    M modules/presence/subscribe.h
    M scripts/db_berkeley/opensips/active_watchers
    M scripts/db_berkeley/opensips/version
    M scripts/dbtext/opensips/active_watchers
    M scripts/dbtext/opensips/version
    M scripts/mysql/presence-create.sql
    M scripts/oracle/presence-create.sql
    M scripts/pi_http/pi_framework.xml
    M scripts/pi_http/presence-mod
    M scripts/pi_http/presence-table
    M scripts/postgres/presence-create.sql
    M scripts/sqlite/presence-create.sql

  Log Message:
  -----------
  Added full data sharing across presence cluster.

Data (watchers and presentites) may be are shared via the SQL DB; a new tagging mechanism adds the ownership concepts (over watchers/subscribers) to avoid multiple NOTIFY'es being trigger by all the nodes when a presentity expires.
Added "federation" mode parameter to enable / disable the federation-like bahvior when comes to data sharing - federating/partioning data across nodes.




More information about the Devel mailing list