summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/chunk_store.py
AgeCommit message (Collapse)AuthorFilesLines
2017-06-13Fix: Make "obnam forget" for GA delete unused chunksLars Wirzenius1-1/+20
2015-12-21Make remove_unused_chunks require chunk indexes lockLars Wirzenius1-4/+0
Also, move remove_unused_chunks to chunk indexes.
2015-12-06Add green-albatross cache settingsLars Wirzenius1-2/+7
2015-08-29Drop unused importsLars Wirzenius1-4/+0
2015-08-01Add remove_unused_chunks methodLars Wirzenius1-0/+4
2015-07-19Split chunk and DIR object cache sizesLars Wirzenius1-0/+2
2015-07-19Rewrite GAChunkStore in terms of BlobStoreLars Wirzenius1-38/+35
This avoids some duplicate code.
2015-07-19Drop remove_chunkLars Wirzenius1-14/+0
FORMAT GREEN ALBATROSS puts multiple chunks in a bag. This means that removing an individual chunk can't happen without rewriting a bag, and that would be disastrous for other reasons. Thus, we drop the remove_chunk method from RepositoryInterface. Format 6 still drops chunks when "obnam forget" is run. For Green Albatross, we'll need to figure out some kind of garbage collection for "obnam forget" (or RepositoryInterface.remove_generation) to use, so that unused chunk bags actually disappear. But they weren't disappearing correctly before this change anyway.
2015-05-16Put chunks in a bagLars Wirzenius1-44/+65
2015-05-16Add RepositoryInterface.flush_chunks methodLars Wirzenius1-0/+3
2015-05-16Add Green Albatross repository formatLars Wirzenius1-0/+84