manila/manila/db
Rodrigo Barbieri ebac41d631 Fix drivers_private_data update on deleted entries
The drivers_private_data is expected to be able to
save new entries using the same keys as previously deleted
entries.

Before performing an update, it retrieves all entries
related to the same entity to check if it needs to
perform an update (including on deleted entries) or a
new insertion.

Unfortunately, the misinterpretation of a parameter in the
manila DB API led to a bug that prevented deleted entries
to be retrieved.

This bugfix replaces the query ensuring that all entries
(active and deleted) are retrieved so the update validation
works.

Closes-bug: #1721123

Change-Id: Id94544c9b8a534d7f0fe4e16bc57546002e33373
2017-11-30 18:26:36 -05:00
..
migrations Add 'description' in share type APIs 2017-11-22 13:28:41 -05:00
sqlalchemy Fix drivers_private_data update on deleted entries 2017-11-30 18:26:36 -05:00
__init__.py Remove vim headers 2014-10-06 15:00:27 +02:00
api.py Add quotas per share type 2017-07-19 17:29:04 +03:00
base.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
migration.py Remove vim headers 2014-10-06 15:00:27 +02:00