[OpenSIPS-Devel] [OpenSIPS/opensips] f1bd44: clusterer: fix possbile locking issues with capabi...

Vlad Patrascu vladp at opensips.org
Wed Apr 25 09:13:58 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f1bd4493986d2a50e4265392b426d8945ec132fc
      https://github.com/OpenSIPS/opensips/commit/f1bd4493986d2a50e4265392b426d8945ec132fc
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

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

  Log Message:
  -----------
  clusterer: fix possbile locking issues with capabilities list


  Commit: ca84d6c856aee5ba169237dbb56ce2fcf0fef431
      https://github.com/OpenSIPS/opensips/commit/ca84d6c856aee5ba169237dbb56ce2fcf0fef431
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: fix learning capabilities when restarting a node

This issue occurs when a node that has all the links with its neighbors
established is restarted and boots up faster than the next ping from another
node in the cluster. That node does not detect the failed link and never sends
the capabilities information itself to the restarted node. The solution is to
require a reply to an initial capabilities update sent when a node establishes a
link.


  Commit: 1e7b8836df462afd5aa291b036c65f1f077eaaec
      https://github.com/OpenSIPS/opensips/commit/1e7b8836df462afd5aa291b036c65f1f077eaaec
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/clusterer/README
    M modules/clusterer/api.h
    M modules/clusterer/clusterer.c
    M modules/clusterer/clusterer.h
    M modules/clusterer/clusterer_mod.c
    M modules/clusterer/doc/clusterer_admin.xml

  Log Message:
  -----------
  clusterer: extend the "cluster_check_addr" function.

Add new parameter that allows selecting the address of the node
to compare against: the BIN listener or the provisioned SIP address.


  Commit: 19ee6879b1b5b30c51f0544af56946b6babe073b
      https://github.com/OpenSIPS/opensips/commit/19ee6879b1b5b30c51f0544af56946b6babe073b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: throw error when receiving message from own node id


  Commit: 5dd381a11022aa4d6608db7efbb6808edac499b3
      https://github.com/OpenSIPS/opensips/commit/5dd381a11022aa4d6608db7efbb6808edac499b3
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: warn if there is no seed node defined in a cluster


  Commit: 5cf6b40dbb7e95371224d4dd98060ab3f6281590
      https://github.com/OpenSIPS/opensips/commit/5cf6b40dbb7e95371224d4dd98060ab3f6281590
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/clusterer/clusterer.c

  Log Message:
  -----------
  clusterer: suppress DBG logs when sending pings and replies


  Commit: 1010f2b307706fa3f374477b39755d95091a0d6a
      https://github.com/OpenSIPS/opensips/commit/1010f2b307706fa3f374477b39755d95091a0d6a
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M modules/dialog/dlg_profile.c
    M modules/dialog/dlg_profile.h
    M modules/dialog/dlg_repl_profile.h
    M modules/dialog/dlg_replication.c

  Log Message:
  -----------
  dialog: fix profile counting when replicating both profiles and dialogs

A replicated dialog was also counted as local for a replicated profile
on each node in the dialog replication cluster affecting both the
returned profile size and the broadcasted counter.
The issue is fixed by using the sharing tags mechanism and only count
a dialog in a replicated profile if it is marked as active.


  Commit: 4b5943330f10854bd9fc0fd3014a6dc402a6a74d
      https://github.com/OpenSIPS/opensips/commit/4b5943330f10854bd9fc0fd3014a6dc402a6a74d
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

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

  Log Message:
  -----------
  clusterer: increase the limit for the number of clusters and nodes


Compare: https://github.com/OpenSIPS/opensips/compare/b1fdb899bfec...4b5943330f10


More information about the Devel mailing list