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

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


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

(cherry picked from commit 1b9662649d2e0606225b5e198a083619d0ca97e1)


  Commit: 315d1fce975c17b37d7d9cad3d30570914b710b5
      https://github.com/OpenSIPS/opensips/commit/315d1fce975c17b37d7d9cad3d30570914b710b5
  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.

(cherry picked from commit 92512fc562b09820ae4c2d0fba66659f56a5b3a1)


Compare: https://github.com/OpenSIPS/opensips/compare/a0a2cabec0a6...315d1fce975c



More information about the Devel mailing list