cinder/cinder/backup
Gorka Eguileor 69462315bc 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
2020-02-27 14:04:13 +01:00
..
drivers Fix missing print format in log messages 2019-09-23 11:12:16 +08:00
__init__.py Fix backup_api_class doesn't work 2017-05-09 22:32:13 +08:00
api.py Create backups via scheduler 2020-02-19 15:08:10 +00:00
chunkeddriver.py ChunkedBackupDriver: Freeing memory on restore 2020-02-27 14:04:13 +01:00
driver.py Remove BackupDriverWithVerify class 2019-05-14 23:19:13 +03:00
manager.py Create backups via scheduler 2020-02-19 15:08:10 +00:00
rpcapi.py Publish backup capabilities to a scheduler 2019-12-04 15:44:13 +02:00