[OpenSIPS-Devel] [OpenSIPS/opensips] 689531: drouting: Do not start with NULL DB connections
    Liviu Chircu 
    noreply at github.com
       
    Tue Aug  4 10:02:44 EST 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 689531e6fc3b9724c72aeb2a77b2f86b35040389
      https://github.com/OpenSIPS/opensips/commit/689531e6fc3b9724c72aeb2a77b2f86b35040389
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-08-04 (Tue, 04 Aug 2020)
  Changed paths:
    M modules/drouting/drouting.c
  Log Message:
  -----------
  drouting: Do not start with NULL DB connections
Force all DB connection objects to be created right from the start,
otherwise strange, hard to diagnose errors may _occasionally_ pop up
during runtime:
 ERROR:core:db_use_table: invalid parameter value (nil), 0x7ff31329a108
 ERROR:drouting:dr_state_flusher: cannot select table "dr_gateways"
    ... or:
 INFO:drouting:dr_reload_cmd: dr_reload MI command received!
 CRITICAL:core:db_table_version: invalid parameter value
 ERROR:core:db_check_table_version: querying version for table dr_gateways
 CRITICAL:drouting:dr_reload_data_head: failed to load routing info
 CRITICAL:drouting:dr_reload_cmd: Failed to load data head
(cherry picked from commit 8a9a396d4d1a7025a1fe93d564f1ebe5150961b4)
(cherry picked from commit e2e989ddb851b98ef1419c146d857ab7da1b4800)
(cherry picked from commit c10248b88b3f227e0f6dd40fd7ec4f643824ab33)
    
    
More information about the Devel
mailing list