[OpenSIPS-Devel] [OpenSIPS/opensips] 1b9662: sql_cacher: don't allow usage of a replicated loca...

Vlad Pătrașcu noreply at github.com
Thu Jul 21 17:56:28 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1b9662649d2e0606225b5e198a083619d0ca97e1
      https://github.com/OpenSIPS/opensips/commit/1b9662649d2e0606225b5e198a083619d0ca97e1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M cachedb/cachedb.h
    M modules/cachedb_local/cachedb_local.c
    M modules/sql_cacher/sql_cacher.c

  Log Message:
  -----------
  sql_cacher: don't allow usage of a replicated local cache

Using a replicated collection for cachedb_local would lead to invalid
keys in the cache due to reload version inconsistencies.


  Commit: 92512fc562b09820ae4c2d0fba66659f56a5b3a1
      https://github.com/OpenSIPS/opensips/commit/92512fc562b09820ae4c2d0fba66659f56a5b3a1
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M modules/cachedb_local/cachedb_local.c
    M modules/cachedb_local/cachedb_local.h
    M modules/cachedb_local/doc/cachedb_local_admin.xml

  Log Message:
  -----------
  cachedb_local: fix crashes when cachedb_url modparam is not set

This commit fixes crashes when an OpenSIPS module uses a collection that is
not explicitly set for any cachedb_url modparam.


Compare: https://github.com/OpenSIPS/opensips/compare/bf178b04ffec...92512fc562b0



More information about the Devel mailing list