Skip to content

File deletions are not being synced in newly shared folders #7098

Closed

Description

@tomasz1986

I am not sure whether this is something recent or not, but I do not think that I had encountered anything like it before v1.11.x.

How to reproduce:

  1. Create an empty folder on Device 1.
  2. Add 1000 small text files to the folder on Device 1.
    image
  3. Share the folder with 1000 files from Device 1 to Device 2.
  4. Accept the folder on Device 2 and let it sync.
    image
    image
  5. Delete the 1000 files from the folder on Device 2.
  6. The two folders are stuck in the following state.
    image
    image

Please make sure to follow the steps exactly as I have written above. If the folder was already being shared between the two devices before adding the files to it, then the synchronisation is successful. I have only managed to make this happen when the files were added to the folder in the "Unshared" state.

Restarting Syncthing does make the folders finish the synchronisation.

Activity

  1. added
    bug
    needs-triage
    on Nov 8, 2020
  2. tomasz1986 commented on Nov 8, 2020

    @tomasz1986
    MemberAuthor

    Also, probably related so I am not creating a new issue, but even just creating and sharing a new folder with pre-existing identical 1000 text files on both sides between Device 1 and 2 leads to this state.

    image
    image

  3. imsodin commented on Nov 8, 2020

    @imsodin
    Member

    I can reproduce. The problem is that new/unshared folders aren't handled in the cluster config from an index point of view. And when you then actually add the folder, we do send a cluster config to the remote, but do not get one in return as nothing changed from the point of view of the remote. Thus we never start sending indexes. We need to handle that like paused folders.

  4. removed
    needs-triage
    on Nov 8, 2020
  5. self-assigned this
    on Nov 8, 2020
  6. added 4 commits that reference this issue on Nov 8, 2020
    cac1c6b
    d6584ff
    dfd1981
    fb826a7
  7. added a commit that references this issue on Nov 9, 2020
    a4fb013
  8. added this to the v1.12.0 milestone on Nov 9, 2020
  9. added a commit that references this issue on Nov 11, 2020
    fcd80c1
  10. added
    frozen-due-to-age
    on Nov 10, 2021
  11. locked and limited conversation to collaborators on Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugfrozen-due-to-age

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions