Repository navigation
K2GO-577 feat(share): move Kolibri channels with rsync, no tar - #789
Merged
Merged
Conversation
The sender's close DELETE lost its token in the relay and got 401, so the share stayed open after Done.
… place A share session runs an rsync daemon module per ZIM (password = session token); the receiver pulls straight into place and resumes from kept bytes. No staging copy. conex-core 0.4.0.
…elay The receiver asks its box to pull a Share item the sender offers over rsync, relayed on the hotspot network, and reports progress to the sender. A box that cannot pull uses the HTTP fetch.
…partials per pull A stale module list could land last and keep a closed session's module serving.
Restart a dead share daemon on manifest or progress, anchor the pull rate after a resume, report done with real bytes, and send progress off the import thread.
The sender serves the channel DB and its files in place; the receiver pulls the files straight into Kolibri storage and links them with importchannel, scanforcontent and importcontent.
In a pull the parent rsync is the generator and moves almost nothing, so a long single-file transfer looked stalled to the watchdog.
…st, content dir limit in ADR
A pull orphaned by a core crash kept writing the partial, so a Retry could start a second writer on the same file.
A partial the user will not resume no longer holds the disk until the 48 h sweep. A drop or a Retry keeps it.
…sync # Conflicts: # static/conex-core/CHANGELOG.md
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
/library/.conex-partial; nothing is deleted in storage.importchannel disk,scanforcontent --channel-import-mode none, thenimportcontent diskon a manifest of the nodes that arrived (sets admin_imported, copies nothing).Why
Steps to QA
Verifications
Notes