[OpenSIPS-Devel] [OpenSIPS/opensips] 40355a: Fix race between data sync and data load

Bogdan Andrei IANCU noreply at github.com
Wed Aug 11 20:41:16 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 40355a3c13493ebbaf7ceed78f2a820c4c600d8a
      https://github.com/OpenSIPS/opensips/commit/40355a3c13493ebbaf7ceed78f2a820c4c600d8a
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M modules/drouting/dr_clustering.c
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Fix race between data sync and data load

Be sure we trigger the startup cluster sync AFTER loading the data from DB.
Also, when receiving replicated data, be sure the data is actually loaded.
Closes #2581

(cherry picked from commit 3b8bdb794da3828a4fe7639f460c36fffe03031a)





More information about the Devel mailing list