cinder/cinder
Gorka Eguileor 20b6b7477d ChunkedBackupDriver: Freeing memory on restore
When restoring many backups, the backup service uses a lot of memory and
when we do many concurrent restores the backup service ends up getting
killed becase the system runs out of memory.

This patch reduces the ref count to the data as soon as possible to let
Python garbage collect it instead of hogging it for the whole chunk
restore.

Related-Bug: #1865011
Change-Id: I942d9d8b3976232ae1cf82b698fb27285fbef13a
(cherry picked from commit 69462315bc)
(cherry picked from commit 94db15dd3b)
(cherry picked from commit f4aa81424f)
2020-03-10 19:58:08 +00:00
..
api Add OS-SCH-HNT in extensions list 2019-06-21 12:23:38 +05:30
backup ChunkedBackupDriver: Freeing memory on restore 2020-03-10 19:58:08 +00:00
brick Add retry to LVM deactivation 2019-10-02 19:47:50 +00:00
cmd Prevent double-attachment race in attachment_reserve 2019-08-01 13:34:44 -04:00
common Enable split logging for cinder-glanceclient interaction 2018-07-11 14:38:04 +05:30
compute Add user messages for extend volume operation 2018-06-01 09:12:07 +08:00
db Make volume soft delete more thorough 2020-02-03 17:58:54 +00:00
group Fix wrong uuid recognized when create group 2019-02-27 11:04:45 -06:00
hacking Fix invalid escape sequence warnings 2018-06-20 16:22:26 -05:00
image Increase cpu limit for image conversion 2019-12-03 10:13:45 -05:00
interface Make scheduler check online_extend_support capability 2018-06-26 14:42:34 -03:00
keymgr Add secret=true to fixed_key configuration parameter 2018-12-13 21:56:15 -05:00
locale Imported Translations from Zanata 2018-10-19 08:01:47 +00:00
message Support image signature verification 2018-06-11 10:14:49 +08:00
objects Cinder backup export broken 2020-02-25 22:35:48 +00:00
policies Merge "Add policy in code documentation for os-set_bootable API" 2018-08-08 21:19:30 +00:00
privsep Port nvmet driver to use privsep 2018-07-05 08:11:01 -04:00
scheduler Merge "Make scheduler check online_extend_support capability" 2018-07-13 02:20:26 +00:00
tests Cinder backup export broken 2020-02-25 22:35:48 +00:00
transfer Transfer snapshots with volumes 2018-07-19 09:42:43 +08:00
volume Fix: Create new cache entry when xtremio reaches snap limit 2020-02-13 13:26:49 +00:00
wsgi Prevent double-attachment race in attachment_reserve 2019-08-01 13:34:44 -04:00
zonemanager Fix for auth version change in Brcd HTTP 2019-02-23 11:44:48 +00:00
__init__.py
context.py Add Keystone v3 domain information to context 2018-04-25 09:29:33 -04:00
coordination.py Remove deprecated heartbeat options 2017-10-03 14:41:18 -05:00
exception.py Fix: Create new cache entry when xtremio reaches snap limit 2020-02-13 13:26:49 +00:00
flow_utils.py
i18n.py Replace http with https for doc links in cinder 2017-10-17 11:14:01 +08:00
manager.py Allow configuring tpool size 2018-03-08 15:59:29 +01:00
opts.py Add keystoneauth options to list_opts 2018-07-23 12:02:08 +08:00
policy.py Correct default policy file 2018-11-30 03:39:03 +00:00
quota.py V3 jsonschema validation: Quotas 2018-04-27 08:21:51 +05:30
quota_utils.py Add Generic Volume Group Into Quota Management 2017-05-26 01:43:23 +00:00
rpc.py Remove deprecated oslo_messaging.get_transport 2017-06-13 14:25:38 +07:00
service.py Use InvalidConfigurationValue instead of InvalidInput 2018-04-11 19:25:48 +08:00
service_auth.py Add service_token for cinder-nova interaction 2017-12-15 12:04:23 +05:30
ssh_utils.py Stop a connections leak when freeing an SSHPool 2018-02-14 18:16:55 -06:00
test.py Tests: Fix up migrate notify tests 2019-04-03 10:29:21 -04:00
utils.py [Logging] Enable filtering of trace_api logs 2018-06-29 10:04:55 -03:00
version.py