[OpenSIPS-Devel] [OpenSIPS/opensips] 2023dc: usrloc: Also binary-replicate the k/v storage

Liviu Chircu liviu at opensips.org
Thu Jun 21 05:47:53 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2023dcbbd50eb27b000a3fbe66bae19a89bb96f1
      https://github.com/OpenSIPS/opensips/commit/2023dcbbd50eb27b000a3fbe66bae19a89bb96f1
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/mid_registrar/save.c
    M modules/usrloc/ucontact.c
    M modules/usrloc/urecord.c
    M modules/usrloc/urecord.h
    M modules/usrloc/ureplication.c
    M modules/usrloc/ureplication.h

  Log Message:
  -----------
  usrloc: Also binary-replicate the k/v storage

This allows us to also cluster the mid-registrar (not only registrar!).

(cherry picked from commit d8fe587cef17421ebbbd4cc0d4c688bcf83b3f5a)


  Commit: 54cf2297717620269e7e70971d38dcdb3e471211
      https://github.com/OpenSIPS/opensips/commit/54cf2297717620269e7e70971d38dcdb3e471211
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/mid_registrar/save.c

  Log Message:
  -----------
  mid_registrar: Do not drop registrations on empty K/V store

Simply forward them and populate the values.

(cherry picked from commit 78902eb60698ac0a9a5a4ae0a6cd37845687c5f4)


  Commit: 7c217d5a757947ccc6bab8721f02fb3524fa625a
      https://github.com/OpenSIPS/opensips/commit/7c217d5a757947ccc6bab8721f02fb3524fa625a
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/usrloc/dlist.c
    M modules/usrloc/doc/usrloc_admin.xml
    M modules/usrloc/ul_mod.c
    M modules/usrloc/ul_mod.h

  Log Message:
  -----------
  usrloc: Fix pinging with simple active/backup clusters

In these types of setups, partitioning the pings across the cluster is
incorrect, as the active node must send all pings.

This patch adds the "shared_pinging" module parameter in order to fix
the pinging behavior for these scenarios.

(cherry picked from commit bafdb8b6a00f697f08f03fb73d3b1f78ed9b8eef)


  Commit: 9c53126d5409791883205f448fa15f8f97eed690
      https://github.com/OpenSIPS/opensips/commit/9c53126d5409791883205f448fa15f8f97eed690
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/usrloc/doc/usrloc_admin.xml

  Log Message:
  -----------
  usrloc: Document "mi_dump_kv_store"

(cherry picked from commit fe782c210c4d19eebeeb79365d2b39fb72764757)


  Commit: b742b741f1490b9298db6a67ec8b460b48ea5632
      https://github.com/OpenSIPS/opensips/commit/b742b741f1490b9298db6a67ec8b460b48ea5632
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-06-21 (Thu, 21 Jun 2018)

  Changed paths:
    M modules/usrloc/kv_store.c

  Log Message:
  -----------
  usrloc: Do not pretty-print the "KV-Store" MI output

(cherry picked from commit 20480ee080eb07fd93279b2033221f57c74e50fe)


Compare: https://github.com/OpenSIPS/opensips/compare/0ba498098465...b742b741f149
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list