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

Backend-state event should contain details about operation in progress #5683

Closed
Tracked by #4236 ...
torchiaf opened this issue Oct 9, 2023 · 2 comments
Closed
Tracked by #4236 ...
Assignees
Milestone

Comments

@torchiaf
Copy link
Contributor

torchiaf commented Oct 9, 2023

Possible values of backendIsLocked are:

  • empty string, meaning that the backend is unlocked
  • 'Snapshot operation in progress'

The UI needs additional info from back-end state in order to display correct info in the start-up dialog, in case of running operations in background:

  • empty, meaning no operation in progress
  • type: restore or creation
  • snapshot name
  • errors in case of unsuccessful operations
@torchiaf torchiaf added kind/bug Something isn't working area/snapshots labels Oct 9, 2023
@torchiaf torchiaf self-assigned this Oct 9, 2023
@torchiaf torchiaf mentioned this issue Oct 6, 2023
45 tasks
@torchiaf torchiaf added this to the 1.11 milestone Oct 9, 2023
@gaktive
Copy link
Contributor

gaktive commented Oct 11, 2023

This may likely only happen on Windows, similar to #5674

@jandubois
Copy link
Member

#6007 describes the latest plan how this should be done, and is mostly implemented.

#6126 writes the lock reason into the lock file.

#6140 uses this lock reason as the lock dialog title.

The remaining suggestions in this issue are no longer relevant and can be reintroduced if we want to refine the algorithm in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants