manila/releasenotes/notes/bug-2024658-fix-duplicate-entries-of-share-server-backend-details-adf45b417d45b437.yaml
Kiran Pawar 37278df338 Fix duplicate entries in share_server_backend_details
share_server_backend_details_set() add entries in db table without
checking existing entries with given combinaton of share_server_id
and key. This causes duplicate records. Fix it by validating presence
of share server id and key.

Closes-bug: #2024658
Change-Id: I58dcd9716cf95d0d696c13a4c831df787726bcda
2023-06-22 15:01:12 +00:00

9 lines
383 B
YAML

---
fixes:
- |
Share server backend details set function adds db records without
checking existing entries. This results in duplicate records for the
combination of given share server id and key. Fixed it by updating records
if already exist else creating new. See the `launchpad bug 2024658
<https://bugs.launchpad.net/manila/+bug/2024658>`_ for more details.