cinder/cinder/db
Gorka Eguileor 6f2e7a5439 Quota: Fix until_refresh config changes
until_refresh configuration option changes are only picked up by cinder
if the quota usage rows didn't exist in the DB or if until_refresh was
already set.

This means that if we enable until_refresh on an existing project then
it wouldn't be picked up.

This patch fixes this so configuration changes to until_refresh are
picked up in a timely fashion.

Closes-Bug: #1697906
Change-Id: I035ad9cdf5802b4c03c8e0fd683891f904ed321a
(cherry picked from commit 85aee67dc7)
2021-04-05 06:17:09 +00:00
..
sqlalchemy Quota: Fix until_refresh config changes 2021-04-05 06:17:09 +00:00
__init__.py Enable flake8 H303,H304 checking 2014-04-15 09:16:01 +00:00
api.py Merge "Default type overrides" 2020-09-16 21:49:13 +00:00
base.py Remove six of dir cinder/db/* 2020-10-07 16:29:29 +08:00
migration.py Compact DB migrations to Queens 2019-05-03 09:45:21 -05:00