[OpenSIPS-Devel] [OpenSIPS/opensips] 719372: [sql_cacher] Added "status/report" support

Bogdan Andrei IANCU noreply at github.com
Fri Feb 11 09:17:35 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7193724eef9e5a017c52e3d70571831a6617b7cf
      https://github.com/OpenSIPS/opensips/commit/7193724eef9e5a017c52e3d70571831a6617b7cf
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M modules/sql_cacher/doc/sql_cacher_admin.xml
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  [sql_cacher] Added "status/report" support

Each full-cache is a status/report (SR) identifier. It's status provides information DB data loading, like -2 (no data) , -1 (initial loading) , 0 (data available), 1 (reloading).
The reports will log when a reload is done and what was the outcome of the reload (success or failure). If success, a more detailed report is generated with how many records were loaded / discarded.





More information about the Devel mailing list