glance/glance/cmd
Mitya_Eremeev 360dc45680 glance-manage can purge all deleted rows
When we want to purge all deleted rows
we use "glance-manage db purge" or
"glance-manage purge_images_table"
then we never know how many deleted rows are still in a table.
So we need to launch the command many times until
the command reports that 0 rows were deleted in every table.
It's inconvenient.
The patch introduced new valid value for "max_rows".
If "max_rows" equals -1 all deleted rows are purged.

Closes-Bug: 1702445
Change-Id: Ia9811d93b1c0b67a1b29a9e8ee3e0fc098c57d4a
2022-05-05 17:31:35 +03:00
..
__init__.py Remove i18n.enable_lazy() call from glance.cmd 2018-12-05 16:37:41 -05:00
api.py Fail to start if authorization and policy is misconfigured 2021-03-02 14:52:21 +00:00
cache_cleaner.py Fix typos 2021-10-13 03:02:52 +02:00
cache_manage.py Remove remaining six.moves usage 2022-01-27 16:37:11 +00:00
cache_prefetcher.py Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
cache_pruner.py Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
control.py Remove six.moves.range usage 2022-01-27 14:54:05 +00:00
manage.py glance-manage can purge all deleted rows 2022-05-05 17:31:35 +03:00
replicator.py Remove final six usage 2022-01-27 16:37:20 +00:00
scrubber.py Monkey patch original current_thread _active 2020-03-30 15:14:36 -04:00
status.py Remove unused option "owner_is_tenant" 2021-02-11 16:17:10 +01:00