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

First Sync #2

Open
martin-arg opened this issue Sep 18, 2024 · 1 comment
Open

First Sync #2

martin-arg opened this issue Sep 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@martin-arg
Copy link

Hi, after some minor testing I'm trying to sync my vault, it's not huge but I have a few hundred files there. So firstly I would like to ask some function for the first sync, some kind of message that everything has been synced so I can relax, secondly a question what will happen if I connect a second computer with the same files? Will they be synced or duplicated? Thirdly, it would be nice to be able to force sync in one direction if you know there will be problems. Finally, the plugin keeps disconnecting and the server logs say [SERVER] Disconnected Missed Heartbeats.
Thank you so much for this plugin.

@lynxaegon lynxaegon self-assigned this Sep 19, 2024
@lynxaegon lynxaegon added bug Something isn't working enhancement New feature or request labels Sep 19, 2024
@lynxaegon
Copy link
Owner

Hi, for now there is no feedback for when the first sync has finished, but i'll try and find a way to give a message when the first sync has finished.

If you connect a second device with the same files (same folder/files structure) they will be synced with what's on the server.

The syncing process is timestamp based, using server time, but if you add files offline it will use the device time, so unless you are modifying the same file at the same time on 2 different computers - you shouldn't have any problems unless you have different clocks on those 2 devices.
In case something goes wrong, you can always go to file history and revert to a previous version

Regarding the disconnect because of missed heartbeats, that's a bit odd since it shouldn't happen (probably a small network layer bug) but even if it happens, the files will be correctly synced, but it will take longer, and after the first sync you shouldn't see any more disconnects.

I'm traveling the next few weeks so i'm not really sure when i'll be able to look into these enhancements, but as soon as i do, i'll let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants