[OpenSIPS-Devel] [OpenSIPS/opensips] 1092bf: federated usrloc + Cassandra: Fix metadata deletion

Liviu Chircu noreply at github.com
Thu Sep 12 06:44:42 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1092bf48a9f0e783875c96418b5d749520e00b0f
      https://github.com/OpenSIPS/opensips/commit/1092bf48a9f0e783875c96418b5d749520e00b0f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-09-12 (Thu, 12 Sep 2019)

  Changed paths:
    M cachedb/cachedb.h
    M modules/cachedb_cassandra/cachedb_cassandra.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.c
    M modules/cachedb_cassandra/cachedb_cassandra_dbase.h
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
    M modules/usrloc/udomain.c

  Log Message:
  -----------
  federated usrloc + Cassandra: Fix metadata deletion

Due to the fact that the key/value cachedb API often uses hardcoded key
names in each backend implementation (e.g. "opensipskey"), usrloc AoR
metadata delete operations were not working with Cassandra, as usrloc
asks the API to delete the "id" key.

(cherry picked from commit 8862524164a30acd1a3840059474e85800f0efe3)





More information about the Devel mailing list