non symmetric sync
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- distributed-systems
Direzione di ricerca
Inizia eseguendo il test test_download_policies e rivedendo le relative asserzioni di sync e download insieme ai log acquisiti. Confronta l'avvio della sync e il comportamento di RemoteInsert per NK e WP, in particolare il numero di peer riportato. Il lavoro è completato quando il comportamento asimmetrico è compreso e il test osserva in modo coerente gli 1 e 3 download attesi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
These are the full logs of a test failure for test_download_policies. This is not a frequent failure at all so having the logs is a great opportunity to understand what's going on with this sync/docs problem.
The test setup is as follows:
There are two nodes: nkpqjtgrfsdzojzk (NK) and wp3g26raw2ercopv (WP),
NK has 6 locally inserted entries.
WP has 3 locally inserted entries.
Both nodes are supposed to sync all entries from the other node, of course.
NK should download 1 of the entries WP has.
WP should download 3 of the entries NK has.
At the end of the test we assert that these exact numbers are upheld (sync and download ones).
What actually happens:
Nodes connect to each other.
They both emit the start sync log/event
WP emits the RemoteInsert events it should
WP downloads the entries it should
Silence from NK, no RemoteInsert at all, and of course no downloads either.
Notable logs:
DEBUG sync{me=nkpqjtgrfsdzojzk}: iroh::docs_engine::live: start sync namespace=NamespaceId(6gebwlyf7po3fygx) peers=0
DEBUG sync{me=wp3g26raw2ercopv}: iroh::docs_engine::live: start sync namespace=NamespaceId(6gebwlyf7po3fygx) peers=1
NK claims to be starting sync with 0 peers. This is weird and potentially a problem on itself. However the fact that WP is actively communicating and successfully syncing with NK tells me there is a connection and sync messages are being passed. Still, NK is not using that info on its side, which leads me to conclude sync is not happening symmetrically
Copied from https://github.com/n0-computer/iroh/issues/2319
- Lingua principale
- Rust
- Stelle
- 81
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 n0-computer/iroh-docs
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
n0-computer/iroh-docs#124 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
n0-computer/iroh-docs#122 ·
-
Sync with a peer stays wedged after one AlreadySyncing refusal (local state never leaves Running)Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
n0-computer/iroh-docs#121 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
n0-computer/iroh-docs#120 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
n0-computer/iroh-docs#109 ·
Tutte le issue di n0-computer/iroh-docs
Issue simili
-
area:web kind:bug priority:p2 ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
sims1253/ry#931 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
sims1253/r-typeshed#140 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
storytold/craft-libs#2867 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted needs investigation priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100