query whether hash / defrag transfer item content
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend, networking
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 26
- Fork
- 9
- Merge medio
- 2h 22m
- PR unite (30g)
- 12
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di borgbackup/borgstore
-
Let backends declare thread_safe and allow concurrent backend calls in Store (follow-up to #206)Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
borgbackup/borgstore#208 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
borgbackup/borgstore#201 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
stats: cache_disabled is False even when no cache backend is configuredForse già presa @MuhammadBilal64 l’ha presa 11 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
borgbackup/borgstore#199 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
write-back cacheApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
borgbackup/borgstore#169 ·
I maintainer di solito rispondono entro 1 giorno
-
credentials -> permissionsApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
borgbackup/borgstore#165 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di borgbackup/borgstore
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
sierra-research/tau2-bench#635 ·
I maintainer di solito rispondono entro 1 giorno
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesForse già presa @fmuia l’ha presa oggi. Apertadocumentation skill
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
lnccbrown/ssm-simulators#406 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
btclib-org/btclib-ecc#309 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jbacalso24/mimry#459 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] POST /revoke with a FastMCP access token is a silent no-op (ownership gate never matches)Apertaauth bug high-priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno