[OpenSIPS-Devel] [OpenSIPS/opensips] 580827: b2b_entities: fix differing entity keys for replic...

Vlad Pătrașcu noreply at github.com
Thu Apr 30 17:39:45 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5808271ad87b87c8b3c1ebec159989a683ea5ed8
      https://github.com/OpenSIPS/opensips/commit/5808271ad87b87c8b3c1ebec159989a683ea5ed8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M modules/b2b_entities/b2b_entities.c
    M modules/b2b_entities/b2be_clustering.c
    M modules/b2b_entities/b2be_db.c
    M modules/b2b_entities/client.c
    M modules/b2b_entities/dlg.c
    M modules/b2b_entities/dlg.h
    M modules/b2b_entities/server.c

  Log Message:
  -----------
  b2b_entities: fix differing entity keys for replicated entities

Use the received timestamp instead of the local one for the entity key of a new
replicated entity.


  Commit: 344dd5827ec2d8a0ada8de1564f6d6c5a4d78d92
      https://github.com/OpenSIPS/opensips/commit/344dd5827ec2d8a0ada8de1564f6d6c5a4d78d92
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix a crash when replicating entity delete event


  Commit: 55f1534e4d8f2bfc9f2050497178828137fde709
      https://github.com/OpenSIPS/opensips/commit/55f1534e4d8f2bfc9f2050497178828137fde709
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M modules/b2b_logic/b2bl_clustering.c

  Log Message:
  -----------
  b2b_logic: replicate entire tuple info for all entity create events

Even though it would be optimal to include the entire tuple info in a single
replicated entity, this would cause races on the receiving instance when
processing the packets. New entities carrying only tuple "updates" could be
processed before actually creating the tuple. As such, the b2b_logic level
entity could not be created in these cases.


  Commit: d012b9af34cfbb5a156aa01197be074c318f2264
      https://github.com/OpenSIPS/opensips/commit/d012b9af34cfbb5a156aa01197be074c318f2264
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M modules/b2b_entities/b2be_clustering.c

  Log Message:
  -----------
  b2b_entities: properly sync from cluster


Compare: https://github.com/OpenSIPS/opensips/compare/362f8ffa49f2...d012b9af34cf



More information about the Devel mailing list