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

Fix duplicate feature for large studies #558

Closed
odeimaiz opened this issue Nov 16, 2021 · 6 comments
Closed

Fix duplicate feature for large studies #558

odeimaiz opened this issue Nov 16, 2021 · 6 comments
Assignees
Labels
Epic Zenhub label (Pleas do not modify) PO issue Created by Product owners type:bug Issue that prevents to perform a certain task, features that don't work as t

Comments

@odeimaiz
Copy link
Member

odeimaiz commented Nov 16, 2021

Duplicating large studies fails

@odeimaiz odeimaiz added the type:bug Issue that prevents to perform a certain task, features that don't work as t label Nov 16, 2021
@KZzizzle
Copy link
Collaborator

related to #466

@pcrespov pcrespov self-assigned this Feb 3, 2022
@pcrespov pcrespov added the Epic Zenhub label (Pleas do not modify) label Jun 3, 2022
@pcrespov
Copy link
Member

pcrespov commented Jun 3, 2022

Update on sprint Croissant

Planned

This issue aims to enhance cloning of large studies. We are

Done

Ongoing

Open

  • clone in storage service (awaiting rclone assessment and 5GB upload feature 5Gb limit #617)
  • benchmarks at least with MS use case

@pcrespov
Copy link
Member

pcrespov commented Jul 4, 2022

Update on sprint Diolkos

No progress on this issue during this sprint

@sanderegg
Copy link
Member

sanderegg commented Aug 24, 2022

Update on sprint Brutalism

Done

Summary

Thanks to ITISFoundation/osparc-simcore#3077, ITISFoundation/osparc-simcore#3100, ITISFoundation/osparc-simcore#3144 and ITISFoundation/osparc-simcore#3021 a.k.a. complete refactoring of the storage micro-service the problem with copying studies containing files >5Gb is possible and executed in place.

The webserver micro-service and the frontend were modified to allow to use the same mechanism as "creating a project from a template". The operation which can potentially be very long (depending on the amount of data) has been modified to leverage "long running operations in a REST API" which will allow to report a progress (still ongoing). A way to retrieve these long running operations of a specific user will allow the frontend to be F5-refreshed and recover its list of tasks.

1st version caveats

  • No progress bar to report study copy
  • If webbrowser is disconnected from osparc --> copy will be cancelled
  • If webbrowser is refreshed (F5) --> copy will be cancelled
  • If webserver is restarted --> copy will be cancelled
  • Currently limited to studies <= 30GB until tested with more data --> error message displayed

Ongoing/Next steps

  • Generate progress for copy operation from the backend
  • Improve UI (auto retries in case of network issue, show copy progress bar, recover copy tasks after refresh or reconnection)
  • Handle frontend disconnection/refresh
  • Possibly handle webserver restarts
  • e2e tests to increase current limit

@sanderegg
Copy link
Member

sanderegg commented Oct 5, 2022

@elisabettai
Copy link
Collaborator

Closing this, as discussed with @sanderegg. The only open part is an e2e test, that will be tackled on the side at another point.
Note: as of today, this has not been released to production yet (but will be).
fyi @esraneufeld

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Zenhub label (Pleas do not modify) PO issue Created by Product owners type:bug Issue that prevents to perform a certain task, features that don't work as t
Projects
None yet
Development

No branches or pull requests

6 participants