[OpenSIPS-Devel] [OpenSIPS/opensips] 1ac901: Fixed missing etag condition in DB query.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Oct 29 11:50:17 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1ac9010f4fb8fff513ce25e06fdf210412c4a39b
      https://github.com/OpenSIPS/opensips/commit/1ac9010f4fb8fff513ce25e06fdf210412c4a39b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-10-29 (Mon, 29 Oct 2018)

  Changed paths:
    M modules/presence/presentity.c

  Log Message:
  -----------
  Fixed missing etag condition in DB query.

After refactoring the code to enable clustering in 2.4, some of the DB queries for updating / deleting the presentity records were missing the etag condition. As a result you may have experienced records leaking in DB or strange errors about unique key violation.
Many thanks for helping with the troubleshooting to Dan Pascu @ AG Projects and to Ognjen Šešlija.

Closes #1422
Closes #1378



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list