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

Better feedback during startup #753

Open
meejah opened this issue May 1, 2024 · 0 comments
Open

Better feedback during startup #753

meejah opened this issue May 1, 2024 · 0 comments

Comments

@meejah
Copy link
Collaborator

meejah commented May 1, 2024

When starting up, magic-folder checks the local database for updates that were "in progress" at the time of the last shutdown.

For example, a LocalSnapshot that has been uploaded and turned into a RemoteSnapshot but not yet linked into the Personal directory. This can take considerable time if there are lots of such snapshots, or if the directory already contains many entries (because tahoe can be a little slow to update very large directories).

A solution here could be to introduce some "status" messages that indicate where the program is in this process. This would allow UI programs to show the user that something is happening (and, e.g., how many more local files are to be checked, etc).

For some concrete numbers: with 35000 local snapshots in a collective with 30,000+ entries, it can take "seconds" to update any that are out-of-date (and thus take quite a while to update everything, depending on how many are out-of-date).

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

No branches or pull requests

1 participant