Swift: Can't get full backup-list on large bucket
maxbrunet opened this issue · comments
wal-e backup-list
doesn't query the full backup list on large bucket.
get_container()
from python-swiftclient
lists buckets with a limit of 10000 containers by default. This can be easily waived by passing full_listing=True
.
Documentation:
https://docs.openstack.org/python-swiftclient/pike/swiftclient.html#swiftclient.client.get_container
The calls to get_container()
which need full_listing=True
:
wal-e/wal_e/worker/swift/swift_worker.py
Lines 30 to 32 in b1bbead
wal-e/wal_e/worker/swift/swift_worker.py
Lines 87 to 88 in b1bbead
wal-e/wal_e/worker/swift/swift_worker.py
Lines 109 to 110 in b1bbead