[OpenSIPS/opensips] 9641eb: 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] 9641eb: Fixed missing etag condition in DB query.

Bogdan-Andrei Iancu-2
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9641eb0ac8dcf28dc3f8be0153b9aa02b81678a1
  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

(cherry picked from commit 1ac9010f4fb8fff513ce25e06fdf210412c4a39b)

      **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]