[OpenSIPS-Devel] [OpenSIPS/opensips] 1773ec: usrloc: Improve clustering mode nomenclature

Liviu Chircu liviu at opensips.org
Tue Mar 27 07:07:33 EDT 2018


  Branch: refs/heads/feature/usrloc-clustering
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1773ecf674e2f27f2b182e2851f5bd396de90e70
      https://github.com/OpenSIPS/opensips/commit/1773ecf674e2f27f2b182e2851f5bd396de90e70
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-23 (Fri, 23 Mar 2018)

  Changed paths:
    M modules/usrloc/dlist.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mi.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/urecord.c
    M modules/usrloc/ureplication.c
    M modules/usrloc/ureplication.h
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Improve clustering mode nomenclature


  Commit: b432ab4b3335d1b966e35992e5c25d3d78b0bc32
      https://github.com/OpenSIPS/opensips/commit/b432ab4b3335d1b966e35992e5c25d3d78b0bc32
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-23 (Fri, 23 Mar 2018)

  Changed paths:
    M modules/usrloc/ucontact.h

  Log Message:
  -----------
  usrloc: Fix bad flags/cflags documentation


  Commit: 4b0897dbdb63d8d08541fbeafb77d3c918fbc912
      https://github.com/OpenSIPS/opensips/commit/4b0897dbdb63d8d08541fbeafb77d3c918fbc912
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M cachedb/cachedb_dict.c
    M cachedb/cachedb_dict.h
    M cachedb/test/test_backends.c

  Log Message:
  -----------
  cachedb: Refactor some dict-related code

Prefix all functions with "cdb_", for consistency.


  Commit: aff69f773251c8cd089947eaf6159bab846e2d23
      https://github.com/OpenSIPS/opensips/commit/aff69f773251c8cd089947eaf6159bab846e2d23
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M dset.c

  Log Message:
  -----------
  branch engine: Improve code consistency


  Commit: b0c5374ff7a7a35776338309c271571cd5000493
      https://github.com/OpenSIPS/opensips/commit/b0c5374ff7a7a35776338309c271571cd5000493
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M modules/clusterer/api.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/node_info.c
    M modules/clusterer/node_info.h

  Log Message:
  -----------
  clusterer: Add api.get_my_sip_addr()

Self-explanatory: fetch the current node's "sip_addr" column value.


  Commit: 5a23f00cc7ad1b60f84266a9c7df62e8b7d0db96
      https://github.com/OpenSIPS/opensips/commit/5a23f00cc7ad1b60f84266a9c7df62e8b7d0db96
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M modules/registrar/reg_mod.c

  Log Message:
  -----------
  registrar: Simplify usrloc binding at mod_init()


  Commit: daaa096b9615c3fd614b7cedf9227d742ebff0ab
      https://github.com/OpenSIPS/opensips/commit/daaa096b9615c3fd614b7cedf9227d742ebff0ab
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-26 (Mon, 26 Mar 2018)

  Changed paths:
    M modules/registrar/lookup.c
    M modules/usrloc/ucontact.h
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h

  Log Message:
  -----------
  usrloc/registrar: Implement cachedb federation clustering

The "federation-cachedb" clustering revolves around the following three
metadata-related operations:
    - on AoR save: ensure the following NoSQL key/multi-value is present:
      { pk: <key>, aor: <aor>, home_ip: <home_ip> }. This advertises
      the AoR's presence in our location to other PoPs.
    - on AoR lookup: fetch all <home_ip> values of <aor>, add as
      call branches of the current INVITE, on top of any existing local
      contact branches
    - on AoR remove: delete our <key> from NoSQL, as well as the AoR
      from local storage.


  Commit: 3577a4bbd4341b651e100ca46140fc45c8d27591
      https://github.com/OpenSIPS/opensips/commit/3577a4bbd4341b651e100ca46140fc45c8d27591
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M modules/usrloc/dlist.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/udomain.c
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h
    M modules/usrloc/urecord.c
    M modules/usrloc/usrloc.h

  Log Message:
  -----------
  usrloc: Align some clustering modes to global naming

This makes the modes easier to digest, as they now have similar naming with
other clustered code, such as presence clusters.


Compare: https://github.com/OpenSIPS/opensips/compare/e75fe0454202...3577a4bbd434


More information about the Devel mailing list