In iroh version 0.91.0, joining a shared document works correctly the first time using the following code. However, on the second join attempt with the same code:
- Updates from the remote document are received and synchronized correctly.
let doc = node.docs.import(ticket).await?;
-
But updates made locally only trigger LiveEvent::InsertRemote on the remote node, without actually downloading the corresponding blob content.
-
Rejoining the same sync node has no effect.
-
Interestingly, if a new node joins the document for the first time, everything works as expected.
This issue does not exist in iroh version 0.35 — synchronization works both ways as intended.