[OpenSIPS/opensips] 9cba60: cachedb_mongodb: Initial adaptation to v1.6.0 (str...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenSIPS/opensips] 9cba60: cachedb_mongodb: Initial adaptation to v1.6.0 (str...

Liviu Chircu
  Branch: refs/heads/feature/mongo-c-driver-1.6.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9cba6055d6d18aca24dd6c5cda0f751ae8de51db
      https://github.com/OpenSIPS/opensips/commit/9cba6055d6d18aca24dd6c5cda0f751ae8de51db
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M cachedb/cachedb.h
    M modules/cachedb_mongodb/Makefile
    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/cachedb_mongodb/cachedb_mongodb_json.c
    M modules/cachedb_mongodb/cachedb_mongodb_json.h

  Log Message:
  -----------
  cachedb_mongodb: Initial adaptation to v1.6.0 (stripped-down)


  Commit: 4e8ab44e4b2990a415e10580e8fbfbd439d19e67
      https://github.com/OpenSIPS/opensips/commit/4e8ab44e4b2990a415e10580e8fbfbd439d19e67
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h

  Log Message:
  -----------
  cachedb_mongodb: Adapt connect function to v1.6.0


  Commit: 8aa8fd6c8fee9ec293fcaf1ad1ebf7121fe40132
      https://github.com/OpenSIPS/opensips/commit/8aa8fd6c8fee9ec293fcaf1ad1ebf7121fe40132
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add connection cleanup at shutdown


  Commit: 9531a5cb5b275e7cf2b33e87f8a72cd8f1ba485f
      https://github.com/OpenSIPS/opensips/commit/9531a5cb5b275e7cf2b33e87f8a72cd8f1ba485f
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h

  Log Message:
  -----------
  cachedb_mongodb: Adapt key fetching function to libmongoc v1.6.0


  Commit: ea4b755aa9c8f1cc4f46482d5491dd3ae6b8a8c6
      https://github.com/OpenSIPS/opensips/commit/ea4b755aa9c8f1cc4f46482d5491dd3ae6b8a8c6
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Adapt key storing function to libmongoc v1.6.0


  Commit: 4f499f4a05abb83089a27fce4b2817321ac1f451
      https://github.com/OpenSIPS/opensips/commit/4f499f4a05abb83089a27fce4b2817321ac1f451
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M mem/q_malloc.c

  Log Message:
  -----------
  QM_MALLOC: Supress free(0) warnings


  Commit: 2d18466a5e05c57ea9c15fc2cd31fbcc8c7cc148
      https://github.com/OpenSIPS/opensips/commit/2d18466a5e05c57ea9c15fc2cd31fbcc8c7cc148
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M action.c
    M pvar.h

  Log Message:
  -----------
  CacheDB core: Improve flags for cache_fetch() results


  Commit: 419f4172e6aec9913e3e005c98748408acdd8884
      https://github.com/OpenSIPS/opensips/commit/419f4172e6aec9913e3e005c98748408acdd8884
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Adapt key removing function to libmongoc v1.6.0


  Commit: 52f6e44ebc0565203a638f79106ff63495f0ea74
      https://github.com/OpenSIPS/opensips/commit/52f6e44ebc0565203a638f79106ff63495f0ea74
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Code refactoring


  Commit: e3eea47bf2fee165e1d9a2b1f626baccfa4cadd7
      https://github.com/OpenSIPS/opensips/commit/e3eea47bf2fee165e1d9a2b1f626baccfa4cadd7
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Adapt counter add/sub functions to libmongoc v1.6.0


  Commit: 94554978fd64e5cd81f3ef47660fcd07b90eb2b7
      https://github.com/OpenSIPS/opensips/commit/94554978fd64e5cd81f3ef47660fcd07b90eb2b7
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Return new counters instead of old ones after add/sub


  Commit: bf3e5d056410834f417539e5af38c88a304d0417
      https://github.com/OpenSIPS/opensips/commit/bf3e5d056410834f417539e5af38c88a304d0417
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Adapt counter get function to libmongoc v1.6.0


  Commit: 599ae359740ba0e7f26c9bbdbd26f697f1bc8dfb
      https://github.com/OpenSIPS/opensips/commit/599ae359740ba0e7f26c9bbdbd26f697f1bc8dfb
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_json.c

  Log Message:
  -----------
  cachedb_mongodb: Initial, stripped-down raw query adaptation (JSON->BSON)


  Commit: 7f89db976feec5a1922f8d7fe768d4d31e1f1944
      https://github.com/OpenSIPS/opensips/commit/7f89db976feec5a1922f8d7fe768d4d31e1f1944
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Improve error logging


  Commit: 7ad893a9e6206cf6a76c06695f82c88b2866556b
      https://github.com/OpenSIPS/opensips/commit/7ad893a9e6206cf6a76c06695f82c88b2866556b
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c
    M modules/rtpproxy/rtpproxy.c
    M modules/xmpp/xmpp.c
    M ut.h

  Log Message:
  -----------
  core: Export pkg/shm strdup functions


  Commit: 988448446c2391296cdcfadbf2113520ad5c2b5b
      https://github.com/OpenSIPS/opensips/commit/988448446c2391296cdcfadbf2113520ad5c2b5b
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h
    M modules/cachedb_mongodb/cachedb_mongodb_json.c
    M modules/cachedb_mongodb/cachedb_mongodb_json.h

  Log Message:
  -----------
  cachedb_mongodb: Add full raw query support for MongoDB 3.2+


  Commit: 716c8feefc1f3337d45a9d1acf2350e26acaa4db
      https://github.com/OpenSIPS/opensips/commit/716c8feefc1f3337d45a9d1acf2350e26acaa4db
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M action.c
    M cachedb/cachedb.h
    M modules/cachedb_mongodb/cachedb_mongodb.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add "update" raw query support for MongoDB 2.4


  Commit: 543376868a5129d5fefd8c71d202d49396033045
      https://github.com/OpenSIPS/opensips/commit/543376868a5129d5fefd8c71d202d49396033045
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add "find" raw query support for MongoDB 3.0 and below


  Commit: 00904584457a2838fe6f24836e510600ca345b46
      https://github.com/OpenSIPS/opensips/commit/00904584457a2838fe6f24836e510600ca345b46
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add "insert" command support for MongoDB 3.0 and below


  Commit: a2bcc716df226d61e67e49e6fd89805e3bae3d9a
      https://github.com/OpenSIPS/opensips/commit/a2bcc716df226d61e67e49e6fd89805e3bae3d9a
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Add "delete" command support for MongoDB 3.0 and below


  Commit: 1b9730819295929df0e7f3ec6c1470fbd1370c0f
      https://github.com/OpenSIPS/opensips/commit/1b9730819295929df0e7f3ec6c1470fbd1370c0f
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Skip bad subdocuments in multi-doc commands

Rather than dropping the command completely, just skip the bad
documents and run the good ones.


  Commit: 3cd5ddbc391b549392372bb22a6e8627507848f7
      https://github.com/OpenSIPS/opensips/commit/3cd5ddbc391b549392372bb22a6e8627507848f7
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Rewrite "update" command to use bulk operations


  Commit: 6fc9c426f9c125523e594065486ada3e926be410
      https://github.com/OpenSIPS/opensips/commit/6fc9c426f9c125523e594065486ada3e926be410
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Avoid doing no-op commands


  Commit: 53fdbd4b1b3362cffc1c8402661bf53de7257bae
      https://github.com/OpenSIPS/opensips/commit/53fdbd4b1b3362cffc1c8402661bf53de7257bae
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Clean up code


  Commit: b5655b134c34a5363b8b866427b9617c7ae662a2
      https://github.com/OpenSIPS/opensips/commit/b5655b134c34a5363b8b866427b9617c7ae662a2
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M db/db_res.c

  Log Message:
  -----------
  DB core: Remove redundant assignments


  Commit: 024e9803c73b27cb409662f2b1fce274415b3948
      https://github.com/OpenSIPS/opensips/commit/024e9803c73b27cb409662f2b1fce274415b3948
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M db/db_res.c
    M db/db_res.h
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h

  Log Message:
  -----------
  cachedb_mongodb: Adapt SQL->NoSQL "query" function for libmongoc v1.6.0


  Commit: b503b65da4759b13b87c5538b8e55c37a8b9bb03
      https://github.com/OpenSIPS/opensips/commit/b503b65da4759b13b87c5538b8e55c37a8b9bb03
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.h

  Log Message:
  -----------
  cachedb_mongodb: Adapt SQL->NoSQL "C/U/D" functions to libmongoc v1.6.0


  Commit: c1d182decfccb10f556e8edf4fd17c0c48236a7d
      https://github.com/OpenSIPS/opensips/commit/c1d182decfccb10f556e8edf4fd17c0c48236a7d
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Fix some SQL translation bugs; Add debug logs


  Commit: 98de514b96ec6091d7e754251e051c19d8babbe2
      https://github.com/OpenSIPS/opensips/commit/98de514b96ec6091d7e754251e051c19d8babbe2
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M db/db_res.c
    M db/db_row.c
    M db/db_row.h
    M db/db_val.h
    M modules/cachedb_mongodb/cachedb_mongodb_dbase.c

  Log Message:
  -----------
  cachedb_mongodb: Some bug fixes

- enable multi-updates in the SQL->NoSQL translator
- fix a mempcy bug during row reallocation


  Commit: ff3321f51c779852e490f64909808f736a93f7e4
      https://github.com/OpenSIPS/opensips/commit/ff3321f51c779852e490f64909808f736a93f7e4
  Author: Liviu Chircu <[hidden email]>
  Date:   2017-03-09 (Thu, 09 Mar 2017)

  Changed paths:
    M modules/cachedb_mongodb/Makefile
    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/cachedb_mongodb/cachedb_mongodb_json.c
    M modules/cachedb_mongodb/cachedb_mongodb_json.h

  Log Message:
  -----------
  cachedb_mongodb: Clean up code, update license headers


Compare: https://github.com/OpenSIPS/opensips/compare/dd44b1311836...ff3321f51c77
_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
Loading...