[OpenSIPS-Devel] [OpenSIPS/opensips] 85e6d4: federated usrloc + Cassandra: Fix metadata deletion

Liviu Chircu noreply at github.com
Thu Sep 12 06:46:35 EDT 2019


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