summaryrefslogtreecommitdiff
path: root/obnamlib/fmt_ga/client.py
AgeCommit message (Collapse)AuthorFilesLines
2017-02-12Early break if chunks_to_remove becomes emptyliw/forgetLars Wirzenius1-0/+2
2017-02-12Drop unused importLars Wirzenius1-1/+0
2017-02-12Drop a bit of debug loggingLars Wirzenius1-2/+0
2017-02-12Simplify logging callLars Wirzenius1-2/+2
2017-02-12Reduce memory dumping a bitLars Wirzenius1-8/+0
2017-02-12Log length of remaining chunks to removeLars Wirzenius1-0/+3
2017-02-12Use more generators to save memoryLars Wirzenius1-11/+9
This might cost in terms of time.
2017-02-12Change how uniquely-in-remove-gen computation is doneLars Wirzenius1-17/+13
Rather than computing a large union of all chunk ids in all genearations tha will remain, we iterate over the chunk ids and remove them from the set of chunk ids in the generation that is getting removed. This should cut down on memory use.
2017-02-12Log as we count filesLars Wirzenius1-0/+2
2017-02-12Count files in generationLars Wirzenius1-0/+3
2017-02-12Attempt to comput chunk ids in a geneartion more efficientlyLars Wirzenius1-6/+7
2017-02-12Update copyright years; reformat to pacify pep8, pylintLars Wirzenius1-8/+17
2017-02-12Rewrite get_generation_chunk_idsLars Wirzenius1-13/+14
2017-02-12Add more memory profile debuggingLars Wirzenius1-1/+12
2017-02-12Add more memory profile debuggingLars Wirzenius1-1/+2
2017-02-12Add more memory profile debuggingLars Wirzenius1-0/+7
2016-07-02Drop r/o caches while forgetting to reduce memory useLars Wirzenius1-0/+9
2016-06-25Add flush_client method and fix RepositoryClientNotLocked instanceLars Wirzenius1-0/+3
This may be used to force any in-memory caches for an open client in a repository to be written out, and then dropped, to reduct memory use. Only green-albatross implements this, for now.
2016-03-17Add RepositoryInterface.get_client_checksum_keyLars Wirzenius1-0/+5
2016-03-17Store/use checksum algorithm in per-client dataLars Wirzenius1-1/+10
2016-03-17Do union only onceLars Wirzenius1-5/+6
2016-03-13Use well-known blob, not raw object, in per-clientLars Wirzenius1-8/+7
2016-03-11Only clone a DIR obj when actually changing itLars Wirzenius1-7/+14
2015-12-21Change GA remove_generations to find unused chunksLars Wirzenius1-2/+14
2015-12-21Change remove_generation to return list of chunksLars Wirzenius1-0/+2
This will be useful for actually implementing removal of unused chunks in green-albatross.
2015-12-06Add green-albatross cache settingsLars Wirzenius1-3/+14
2015-11-01Avoid calling _require_file_existsLars Wirzenius1-2/+5
This should avoid a little overlapping work.
2015-08-29Rename unused variables to _Lars Wirzenius1-4/+4
2015-08-28Drop unused methodLars Wirzenius1-3/+0
2015-08-20Avoid _require_file_exists in get_file_childrenLars Wirzenius1-3/+8
2015-08-20Avoid _require_file_exists in clear_file_chunk_idsLars Wirzenius1-3/+8
2015-08-20Avoid calling _require_file_exists in get_file_chunk_idsLars Wirzenius1-3/+8
2015-08-20Avoid double check due to call to _require_file_existsLars Wirzenius1-3/+8
Instead, raise the error if it happens when doing the actual work.
2015-08-19Add get_metadata_from_file_keys and use itLars Wirzenius1-21/+36
2015-08-19Move set_file_keys_from_metadata further down the stackLars Wirzenius1-28/+41
2015-08-19Add set_file_keys_from_metadata to interfaceLars Wirzenius1-0/+34
2015-08-02Move method closer to first use, for clarityLars Wirzenius1-6/+6
2015-08-02Lookup generation in dict, not linearlyLars Wirzenius1-5/+11
2015-08-02Move file-exists checking deeper into call stackLars Wirzenius1-6/+6
2015-08-02Inline _require_file_exists in case it's fasterLars Wirzenius1-1/+7
2015-07-25Drop --ignore-missing-chunks optionLars Wirzenius1-1/+1
We want robustness by default, and always.
2015-07-25Add --ignore-missing-chunks option to forgetLukáš Poláček1-1/+1
2015-07-19Only use one blob store per clientLars Wirzenius1-8/+11
2015-07-19Split chunk and DIR object cache sizesLars Wirzenius1-0/+1
2015-07-17Simplify get_file_children in Green AlbatrossLars Wirzenius1-3/+12
2015-07-17Pack more DIR objects in a bagLars Wirzenius1-1/+1
2015-07-11Don't return . as a fileLars Wirzenius1-1/+3
2015-07-11Drop unnecessary file removalLars Wirzenius1-1/+0
Either it's a new (and empty) parent directory, or the parent directory didn't have the file, when the file was originally added.
2015-07-11Bug fixesLars Wirzenius1-1/+2
2015-07-11Change GAFileMetadata to use GATreeLars Wirzenius1-50/+148