[OpenSIPS-Devel] [OpenSIPS/opensips] 8b2daa: Fix race between data sync and data load

Bogdan Andrei IANCU noreply at github.com
Wed Aug 11 20:40:50 EST 2021


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8b2daa805313f80b7dc44ed5e202055770db5fd2
      https://github.com/OpenSIPS/opensips/commit/8b2daa805313f80b7dc44ed5e202055770db5fd2
  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