query whether hash / defrag transfer item content
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- backend, networking
調査の方向性
Start at the Store.hash and Store.defrag operations and trace their implementations across the posixfs, rest, sftp, s3, and rclone backends. Define and test the requested transfer query against the behavior in the table, including the algorithm-dependent sftp check-file probing; done means callers can determine whether item content will transfer.
索引モデルが issue の本文から書いたものです。
説明
borg compact copies packs with Store.defrag. borgbackup/borg#10410 needs a Store.hash check of each source pack before the copy. Whether that check is cheap depends on the backend, and the caller cannot tell which case applies.
"Transfer" below means the item content goes over the network between the storage and the borgstore client.
| backend | hash |
defrag |
|---|---|---|
| posixfs | no transfer (local file read) | no transfer |
| rest | no transfer (computed by borg serve --rest) |
no transfer |
| sftp | no transfer if the server supports the check-file extension (OpenSSH does not; never for blake3), otherwise downloads the item |
downloads the source ranges, uploads the target |
| s3, rclone | downloads the item | downloads the source ranges, uploads the target |
Request: a way to ask the store whether an operation transfers item content, e.g.
Store.transfers_content(op: str, algorithm: str | None = None) -> bool # op: "hash", "defrag"
algorithm is needed because sftp check-file does not support blake3. For sftp hash, check_file_supported is only known after the first check-file attempt, so the query has to probe or return True until it is confirmed.
- 主要言語
- Python
- スター
- 26
- フォーク
- 9
- 平均マージ
- 2時間 22分
- マージ済み PR(30日)
- 12
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
borgbackup/borgstore のほかの issue
-
Let backends declare thread_safe and allow concurrent backend calls in Store (follow-up to #206)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
borgbackup/borgstore#208 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
borgbackup/borgstore#201 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
stats: cache_disabled is False even when no cache backend is configured対応中かも @MuhammadBilal64 が 11 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
borgbackup/borgstore#199 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
write-back cacheオープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
borgbackup/borgstore#169 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
borgbackup/borgstore#165 ·
メンテナーはふだん 1 日以内に返信
borgbackup/borgstore の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Graphify-Labs/graphify#4524 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
topoteretes/cognee#5982 ·
メンテナーはふだん 1 日以内に返信
-
Patches of derivations with `__structuredAttrs` are ignored対応中かも @KiaraGrouwstra が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
nix-community/vulnix#184 ·
-
New Internshipオープンnew_internship
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
aws-samples/sample-per-model-bedrock#295 ·
メンテナーはふだん 1 日以内に返信