Today I noticed a FolderCompletion event with a negative completion value which I find weird.
{"id":345455,"globalID":345455,"time":"2018-09-07T01:47:56.205658938+02:00","type":"FolderCompletion","data":{"completion":-0.00001218443559380944,"device":"$DEVICEID","folder":"$FOLDERNAME","globalBytes":85239894098,"needBytes":85239904484,"needDeletes":0,"needItems":292198}}
The remote device in this case does not sync the folder, but is mentioned in the config of the device on which the event got triggered as one of the devices which share the folder. This is due to an error in my setup script and I am working to fix that.
It is still weird to receive a negative completion progress. I guess this is due to the case that for some reason the neededBytes are more than the globalBytes for some reason. I just wanted to show this weird behavior to you in case it could present an unwanted behavior.