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:
- Create new folder
test
on the node A and share it with other two nodes B and C. - Introduce ignore pattern
**
for both nodes B and C. - Add two files on node A like
1.txt
and2.txt
- All nodes online
- Try to sync file
2.txt
with node B. So the ignore patters will be something like this:
!/2.txt **
- Turn off node A
- Remove ignore pattern from node C
Expected:
- node C is
Out of sync
as it can not get1.txt
(A is offline) - node B is
Up to Date
and has noOut of sync
neither with C or A as it ignores1.txt
and share2.txt
.
Result:
- Node B has
Out of sync
items with C:
p.s. versions of the nodes A and B is 1.17.0, node C is 1.7.1