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

[Bug]: synchronisation does not stabilize #69

Closed
2 tasks done
umlaeute opened this issue Oct 19, 2023 · 5 comments
Closed
2 tasks done

[Bug]: synchronisation does not stabilize #69

umlaeute opened this issue Oct 19, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@umlaeute
Copy link

Bug description

when synching two devices multiple times (without changing the actual databases), they keep adding/deleting entries.

Expected outcome

after a successful sync, i expect the two devices to have the same state.
so re-synching should neither add nor remove any entries.

Steps to reproduce

  1. setup two instances of Passy, e.g. one on the phone (f-droid), the other on the laptop (flatpak)
  2. add some entries on the phone
  3. sync the two devices (laptop=host, phone=connect). you should see something like this on the laptop:
    Synchronisation completed
    Entries added: 6
    Entries removed: 2
    
    and something like that on the phone:
    Synchronisation completed
    Entries added: 0
    Entries removed: 0
    
  4. sync the devices again (laptop=host, phone=connect). you should see something like this on the laptop:
    Synchronisation completed
    Entries added: 2
    Entries removed: 0
    
    and something like that on the phone:
    Synchronisation completed
    Entries added: 6
    Entries removed: 0
    
  5. sync the devices again (laptop=host, phone=connect). you should see something like this on the laptop:
    Synchronisation completed
    Entries added: 6
    Entries removed: 2
    
    and something like that on the phone:
    Synchronisation completed
    Entries added: 0
    Entries removed: 0
    
  6. repeat ad lib.

obviously the synchronisation does not stabilize.

Error log

No response

App version

v1.6.0 - Markdown Notes

Submission checklist

  • I have specified the problem in the issue title
  • I have provided a verbose description of the problem
@umlaeute umlaeute added the bug Something isn't working label Oct 19, 2023
@GleammerRay
Copy link
Collaborator

That is a known issue, apologies, I haven't created a github issue for it yet. It is already fixed on the dev branch 👍

@GleammerRay
Copy link
Collaborator

Do note, your entries are completely safe for now, for as long as you're using less than 3 devices. This will no longer be a problem with the next release.

@GleammerRay GleammerRay added the next release Will be resolved before next release label Oct 23, 2023
@umlaeute
Copy link
Author

is there hope that the "next release" is the one you are preparing right now?
(I'd really like to sync more than 2 devices, and your last statement has put this on hold)

@GleammerRay
Copy link
Collaborator

Hello @umlaeute ! Indeed it is. In anticipation for the next release you can go through the issues with the next-release label. I must note that some features (attachments-related ones in particular) may be cut from the next release due to their unfinished state, but all the bug fixes will be present, along with new synchronization features (standalone server) and optimizations.

@GleammerRay
Copy link
Collaborator

GleammerRay commented Nov 28, 2023

@GleammerRay GleammerRay removed the next release Will be resolved before next release label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants