Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync command should support resuming a SyncSession through ID argument #8019

Closed
bjester opened this issue Apr 19, 2021 · 0 comments · Fixed by #8183
Closed

Sync command should support resuming a SyncSession through ID argument #8019

bjester opened this issue Apr 19, 2021 · 0 comments · Fixed by #8183
Assignees
Labels
DEV: backend Python, databases, networking, filesystem... TAG: new feature New user-facing feature
Milestone

Comments

@bjester
Copy link
Member

bjester commented Apr 19, 2021

Background

The sync management command doesn't currently support resuming a sync session, so if synchronization becomes interrupted for any reason, you must start from scratch to complete the transfer.

User story

As a user who is using Kolibri's sync command in connectivity challenged environments, I need to be able resume a sync if it is interrupted. Syncing large amounts of data can take some time, especially on slower connections, and if that becomes interrupted, I'm faced with having to restart the entire process which leads to a loss of time and perhaps increased cost from the data transfer.

Deliverables

  • The sync command should update its task state with the SyncSession ID when it has created a new session to allow for resuming a specific interrupted sync task through the UI
  • The sync command should accept a --syncsession_id argument and should pass it to resume_sync_session
@bjester bjester added TAG: new feature New user-facing feature DEV: backend Python, databases, networking, filesystem... labels Apr 19, 2021
@bjester bjester added this to the 0.15.0 milestone Apr 20, 2021
@bjester bjester linked a pull request Jul 26, 2021 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend Python, databases, networking, filesystem... TAG: new feature New user-facing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant