-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
review comment: xref tested string doc: address review comment by jcsp drop TODO about better load time api LayerE::drop comments refactor: fix residency and metrics to layermanager refactor: LayerManager, remove arc blanket rename reorder, get rid of TODO move Layer and all to storage_layer::layer refactor: Layer initialization test: migrate to Layer::for_resident test: use guard_against_eviction from outside fix: rename the written out file in Layer ctor try to apply backoff *after* download might not work as we could get cancelled, but doing it right before seems wrong as well. We already retry the download. doc: few touches refactor: split get_or_maybe_download refactor: split evicting refactor: minor cleanup, doc test: fix test_timeline_deletion_with_files_stuck_in_upload_queue string change fix: delete and only then report evicted test: fix allowed error typo doc: minor fixes restore Layer::dump layer: remove dead comment and code fix: allow dropping from UploadQueue by spawn_blocking rename: garbage_collect => &_on_drop refactor: split guard_against_eviction into three - download - keep_resident - download_and_keep_resident No need to bool enum. botched rebase: lost impl AsRef<DeltaLayerInner> doc: fix typo doc: remove obsolete comment doc: link to inmemorylayer doc: cleanup, add missing "the" doc: link to LayerMap::search doc: delete fixme about gentlemans agreements and strings doc: inmemlayer: cleanup comments eviction_task: remove confusing drop(candidates) doc: add cancellation safe comment refactor: simplify schedule upload and tests (rebase conflicts) lot of the non-conflicting changes were fixed in rebase here. refactor: Result<(), NeedsDownload> doc: typo doc: explain what the consecutive failures are for doc: another pass on LayerInner fix: subscribe before evicting reorder: get and get_or_apply_evictedness doc: check_expected_download info: stop using stat we no longer need to use it because in the latter versions we initialize to correct on-filesystem state with Layer::for_{resident,evicted}. doc: residentlayer vs. downloadedlayer and eviction doc: cancellation safety with evict_and_wait doc: note running without remote storage again reorder: 1. DownloadedLayer, 2. ResidentLayer doc: explain DownloadedLayer::get owner param doc: add validation doc: drop comment in favor of drop_eviction_guard image/deltalayer: shuffle comments around doc: simplify comment doc: create guard => new download has been started doc: when => while doc: remove comment about backoff doc: adjust while in queue doc: adjust more LayerInner::on_drop doc: assert &Arc<LayerInner> and DownloadedLayer::owner fixup residentlayer comment test: allow witnessing stopping before broken doc: fix link refactor: rename LayerInner::on_drop to on_downloaded_layer_drop doc: fix outdated commit doc: fix broken link doc: comment about chance of both evictions selecting same layer refactor: move all metrics updates to layer this fixes some missing increments for num_persistent_files_created, persistent_bytes_written and removes double entries for residence events. refactor: rename for_written_tempfile -> finish_creating
- Loading branch information
Showing
17 changed files
with
1,473 additions
and
1,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.