I stumbled upon another strange problem with couchbase lite on android. I can write and read long values without problems in a local DB.
When the sync gateway is running with the walrus config (1.0.4-34 on a ubuntu machine) the long values are synced as double.
In my local DB the value is 1430135390962
Sometimes after syncing it the value in the walrus file and on another device is 1.430135390962e+12.
This obviously causes some trouble when reading it, because CBlite/Jackson reads it as a double value.
When I don’t use walrus and a couchbase server instead, the value is correctly synced as long.
Should I report this as a bug on github?
Edit: I just tested this a little bit more and noticed that this problem also occured with the couchbase server. The value in the servers webinterface is still a long, but on one device the value is synced and parsed as double.