I know this has been discussed many many times but there is something I still can’t wrap my head around.
For one of my folders I remembered to add .DS_Store and .AppleDouble to the ignores a bit too late. I started adding it to all the clients and removing those files.
I noticed that if I don’t remove the files on a client it becomes out of sync and I can’t understand why.
I have three clients A, B and C. They all had the ignores set up after .DS_Store was indexed.
-
I go to A and remove .DS_Store:
- Up to Date
- Global State 87 items
- Local State 87 items
-
I go to B:
- Out of Sync, showing .DS_Store as the reason.
- Global State 88 items
- Local State 87 items
-
I remove .DS_Store from B:
- Up to Date
- Global State 87 items
- Local State 87 items
-
I go to C:
- Out of Sync, showing .DS_Store as the reason.
- Global State 88 items
- Local State 87 items
- I expect this NOT to be the case. A and B don’t have the file and it is already ignored on all the devices.
-
I remove .DS_Store from C:
- Up to Date
- Global State 87 items
- Local State 87 items
-
I recreate .DS_Store on C:
- Up to Date
- Global State 87 items
- Local State 87 items
- This is what I expected to see here and at step 4.
-
I remove .DS_Store from .stignore on C:
- Up to Date
- Global State 88 items
- Local State 88 items
- A and B still shows “Up to Date” and 87/87
- This is what I expected to see here.
-
I add .DS_Store to .stignore on C:
- Out of Sync, showing .DS_Store as the reason.
- Global State 88 items
- Local State 87 items
- Same as step 4 but why?
What am I missing in this scenario?
I noticed this behavior after I upgraded all my devices to 0.14.2 and set up a new folder. I forgot to set up ignores before but I don’t remember seeing this kind of issue.
Edit:
I can reproduce it on all the clients.
- A is OS X on a MacBook Pro
- B is Raspbian on a Raspberry Pi
- C is CentOS on a VPS server.
Edit 2:
I tried restarting the clients between each step sometimes one by one sometimes at the same time.