cinder/cinder/backup
Gorka Eguileor 614f48d61c 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)
(cherry picked from commit 20b6b7477d)
2020-03-23 13:10:35 +00:00
..
drivers Fix ceph: only close rbd image after snapshot iteration is finished 2019-08-13 17:15:44 -03:00
__init__.py Fix backup_api_class doesn't work 2017-05-09 22:32:13 +08:00
api.py Consume quota when importing backup resource 2018-12-21 15:14:27 +00:00
chunkeddriver.py ChunkedBackupDriver: Freeing memory on restore 2020-03-23 13:10:35 +00:00
driver.py Fix how backups handle encryption key IDs 2018-01-30 22:12:49 +00:00
manager.py Change the matching method of the backup driver 2019-05-14 12:18:37 -03:00
rpcapi.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00