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

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

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

Bogdan-Andrei Iancu-2
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1ac9010f4fb8fff513ce25e06fdf210412c4a39b
      https://github.com/OpenSIPS/opensips/commit/1ac9010f4fb8fff513ce25e06fdf210412c4a39b
  Author: Bogdan-Andrei Iancu <[hidden email]>
  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.

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel