Ignored items appear in "Out Of Sync" list

Hi all!

Finally I’ve started to investigate the three-node problem in Syncthing. I found that a node with ignored items try to sync them with other nodes but it should not to do that as it does not have them (I think).

How to reproduce:

  1. Create new folder test on the node A and share it with other two nodes B and C.
  2. Introduce ignore pattern ** for both nodes B and C.
  3. Add two files on node A like 1.txt and 2.txt
  4. All nodes online
  5. Try to sync file 2.txt with node B. So the ignore patters will be something like this:
!/2.txt
**
  1. Turn off node A
  2. Remove ignore pattern from node C

Expected:

  • node C is Out of sync as it can not get 1.txt (A is offline)
  • node B is Up to Date and has no Out of sync neither with C or A as it ignores 1.txt and share 2.txt.

Result:

p.s. versions of the nodes A and B is 1.17.0, node C is 1.7.1

I would say that this looks similar to https://github.com/syncthing/syncthing/issues/7474.

Exactly!

But related bug Files ignored on one remote do not get synced · Issue #7608 · syncthing/syncthing · GitHub seems to be fixed now.

I have to note that the file 1.txt on node B becomes synced with node C when node A appears online.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.